01-11-2021, 11:10 AM
Hi there
i just want to know the position of the particle that collides with another gameObject tagged with something.
i have read this page: http://obi.virtualmethodstudio.com/manua...ngcollider
but still couldn't manage to do it.
position variable given from code below doesn't seem to be related to world
// do something with the particle, for instance get its position:
var position = solver.positions[particleIndex];
i just want to know the position of the particle that collides with another gameObject tagged with something.
i have read this page: http://obi.virtualmethodstudio.com/manua...ngcollider
but still couldn't manage to do it.
position variable given from code below doesn't seem to be related to world
// do something with the particle, for instance get its position:
var position = solver.positions[particleIndex];