mtasa-blue
mtasa-blue copied to clipboard
Re-scale object collision automatically
Is your feature request related to a problem? Please describe.
When using setObjectScale(objElement, 2)
, the object's collision is not altered. It would be extremely useful to have it also scale up/down in all axis accordingly.
https://wiki.multitheftauto.com/wiki/SetObjectScale
Describe the solution you'd like
Add argument in the function to auto scale the collision according to the values passed.
bool setObjectScale ( object theObject, float scale [, float scaleY = scale, float scaleZ = scale, bool scaleCollision = false ] )
Describe alternatives you've considered
Additional context
SA-MP and many other games have had this feature for a long time now.
Security Policy
- [X] I have read and understood the Security Policy and this issue is not about a cheat or security vulnerability.