Limit physics collisions?

Posted By: sydan

Limit physics collisions? - 05/13/09 16:39

Is there a way to limit physics collisions. I want to stop physics objects from colliding with blocks and terrain. I also need to tell it to ignore certain objects. How do I use push with physics?

I have a player who's physical collisions are managed by and invisible object that is attached to it. However tones of memory is being used in the calculations of collisions between the player and the physics object. I also don't need the physics object to handle map collisions as the player does that.

Anyone know a way?
Posted By: flits

Re: Limit physics collisions? - 05/13/09 16:42

look in the manual for phent_setgroup ( entity, var groupID );
Posted By: sydan

Re: Limit physics collisions? - 05/13/09 16:45

Sorry Im new to the physics engine. I was actually just looking at that in the menu. Does it allow me to restrict physics between non physics entities and physics entities. If so how?
Posted By: flits

Re: Limit physics collisions? - 05/13/09 16:52

dont use group id 0
1 is standard all vs all colision

others is white the same id no collsion and white other id collision

i dont know how to ignore terain white gs pshycic i dont use it any more wink
Posted By: sydan

Re: Limit physics collisions? - 05/13/09 16:53

It doesnt work. The engine complains that the player isnt a physics object when i try to set the group. If I make the player a physics object and then quickly dissable it then the player cannot move correctly.
© 2024 lite-C Forums