#collision

8 messages · Page 1 of 1 (latest)

clear onyx
#

Where they can’t go through walls? No

#

Not really

#

Unless someone wants to correct me in this to my knowledge there isn’t

stiff schooner
#

@brittle glacier do you mean like if they try to push their hands thru a wall it moves them back?

#

Oh then you can do that

#

Basically use overlap sphere configured to ignore players with a radius of .05 and if number of objects collided with is greater than zero, set velocity in the opposite direction of the hand

#

You’ll have to scale the velocity set though

undone prism
#

Just get the Y Velocity of the hand and add -0.24 to it, then attach that to a Vector3 Create, X to X, Y+-0.24 to Y and Z to Z, then attach to a Velocity Set and make the speed -1