Object Physics and VC:MP

Started by GangstaRas, Jul 12, 2019, 12:52 PM

Previous topic - Next topic

GangstaRas

Dusting off this area of VC:MP as I have some use cases for it.

A problem I'm noticing is that once you interact with a custom object with physics data, it just falls through the map and I don't really know why. Any fix to this? Happens whether it's vanilla map or custom map. Also happens when you place another physically active object beneath it to potentially collide with (in the hope of a physically active-passive object interaction).



Another thing I noticed, was that whether I spawned a custom object with physics data via script or a VC object via script, it loses its interaction capabilities. Maybe I'm doing something wrong? I used object ID 349 to check.

Xenon

#1
Only spheres can interacts with plane/box type of collision and vice versa.

Objects created via Server-side has no flags, try to create it via Client-side XMLs.

GangstaRas

Thanks for the feedback. I'll soon test that and update