About Store Forum Documentation Contact



Post Reply 
contact information from physCutsCallback
Author Message
caspersky Offline
Member

Post: #1
contact information from physCutsCallback
hello,
is there is anyway to get surface contact information when using PhysCutsCallback,
in fact i have a capsule that i want to know if it hits any other object via a derived class from physcutscallback,
now i want to get the surface contact information like surface normal, tangent....
tx
08-24-2010 02:27 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: contact information from physCutsCallback
you need to use Sweep functions for that
08-24-2010 03:10 PM
Find all posts by this user Quote this message in a reply
caspersky Offline
Member

Post: #3
RE: contact information from physCutsCallback
ok thx u.. i replaced my code with a ray test.
btw, i got a question in my mind,
why physics.cuts takes only a callback function while physics.sweep needs a move vector ?
08-24-2010 04:26 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: contact information from physCutsCallback
cuts detects bodies you're already in contact with

sweep detects bodies as if you move object by vector
08-24-2010 07:35 PM
Find all posts by this user Quote this message in a reply
caspersky Offline
Member

Post: #5
RE: contact information from physCutsCallback
thx for the clear answer.
08-25-2010 08:50 AM
Find all posts by this user Quote this message in a reply
Post Reply