unity3d - Unity : Point in contact with an other solid -
i'd make player "jump", if point @ bottom of capsule collider touching something.
so, wondering : there quick way unity see if point of 1 solid in contact other solid ?
thanks answers !
there 2 methods
1)oncollisionenter()-called when collision happens
2)oncollisionstay() - called repeated while 1 object touching other
believe case oncollissionstay() work
reference:[1]http://docs.unity3d.com/scriptreference/collision-contacts.html
Comments
Post a Comment