Make an object immovable to some groups(kinematic?)
Posted: Tue Sep 03, 2013 11:52 pm
What is the best way to have objects that treat other objects as if they were kinematic?.
I have a platform with some blocks, and we would like the player to be able to push blocks, but not the enemies, although both use the charactercontroller. Or another example is a platform that must be unpushable until certain point.
I considered using a raycast to stop the player if it collides with it, but is there a better way?
I have a platform with some blocks, and we would like the player to be able to push blocks, but not the enemies, although both use the charactercontroller. Or another example is a platform that must be unpushable until certain point.
I considered using a raycast to stop the player if it collides with it, but is there a better way?