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

Disable camera collisions for detached vehicle parts and projectiles

Open lopezloo opened this issue 3 years ago • 2 comments

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.

lopezloo avatar Nov 10 '21 02:11 lopezloo

maybe even add support for setElementCollisionsEnabled / setElementCollidableWithType

Einheit-101 avatar Nov 11 '21 21:11 Einheit-101

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.

lopezloo avatar Sep 16 '22 12:09 lopezloo