GHOST object?

the0bit1

12-07-2008 21:30:54

can i, using Newton, create ghost object ( sensor), that can detect collision, but not react for it

ps. sorry 4 my english

walaber

13-07-2008 01:08:24

yes. create the object as normal.

assign it a special materialID.

then, create a ContactCallback between the "ghost" material, and the material you want to detect.

in the "userProcess" callback, notify your system of the collision.
then, return zero (0) from the callback to ignore the collision.

the0bit1

13-07-2008 10:01:05

wooow! it is simple!
thanks