caspersky
Member
|
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 |
|
Esenthel
Administrator
|
RE: contact information from physCutsCallback
you need to use Sweep functions for that
|
|
08-24-2010 03:10 PM |
|
caspersky
Member
|
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 |
|
Esenthel
Administrator
|
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 |
|
caspersky
Member
|
RE: contact information from physCutsCallback
thx for the clear answer.
|
|
08-25-2010 08:50 AM |
|