mtasa-blue
mtasa-blue copied to clipboard
Disable camera collisions for detached vehicle parts and projectiles
Is your feature request related to a problem? Please describe. I propose disabling camera collisions for detached vehicle parts and projectiles by default because it's annoying and looks like oversight from R* side.
Describe the solution you'd like Make these objects non collidable with camera.
Additional context GTA already disables camera collisions for other small objects like fences so I think this proposal fits very well.
maybe even add support for setElementCollisionsEnabled / setElementCollidableWithType
Turns out it's not even currently possible to do that via scripting:
crun engineSetObjectGroupPhysicalProperty(122, "avoid_camera", false)
It disables camera collisions for script created objects with grenade model but not for projectiles thrown by players.