mtasa-blue icon indicating copy to clipboard operation
mtasa-blue copied to clipboard

Re-scale object collision automatically

Open Fernando-A-Rocha opened this issue 4 months ago • 11 comments

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.

Fernando-A-Rocha avatar Oct 07 '24 12:10 Fernando-A-Rocha