Game Development Community

Collision Detection

by Ian Omroth Hardingham · in Torque Game Builder · 01/26/2007 (10:33 am) · 2 replies

Ok, a couple of questions.

1. is there an easy way of having collision detection without collision response? I'd quite like an invisible circle which called a script onCollision function when something goes into it, but which doesn't push that obect back or anything.

2. Can I set the mass of objects? I have two things colliding and one is much smaller than the other, but is still pushing the big one too far.

3. I have my colliding objects on BOUNCE, but often in slow collisions two objects will become stuck together for a while. Is this a known bug, or is there a way I can stop that happening?

Many thanks,
Ian

#1
01/26/2007 (12:14 pm)
You can eliminate the response by setting the response to CUSTOM which does nothing. CUSTOM is for writing your own response so you abstain from writing a response and it will do nothing.

#2
01/26/2007 (10:31 pm)
You can also simply do it with a trigger (without enter and leave callback), it collide the same way as any sceneobject, but without any physics response from neither the sender or the receiver.