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

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -