List
Interaction between targets
Posted Date: 2018-09-04 10:12     Edited Date: 2018-09-04 13:22     Writer: inactive

Hi, is it possible to do an interaction between two targets. Like to have 1 character per target and when two of them are close to each other they start fighting. Is there some method to return world position of target? If you know how to achieve such effect, please point me to right direction,

Thank you.

Posted Date: 2018-09-04 13:22     Edited Date: 2018-09-04 13:22     Writer: inactive

Hi,

If you add collider at two objects you can detect the collision. Please refer link below.

https://unity3d.com/kr/learn/tutorials/topics/physics/detecting-collisions-oncollisionenter

Or you can use Transform.position (not Transform.localPosition) to get world postion ob object.

Thank you

Jack,

SDK support team, Maxst