- Home /
Can I assign different surfaces of the same GameObject different tags?,Is it possible to make certain surfaces of GameObjects have different properties/tags?
Hello,
I'm new to unity, and I'm attempting to make a basic 3D platformer. I have a script for movement where it checks to see if objects have a certain tag and that determines whether or not the player can jump. I've obviously tagged certain GameObjects and not tagged others. Here lies my problem, If I have a wall that the player can jump on to, they won't be able to jump while standing on that wall. If the player is simply touching a tagged object, they can jump, even if they aren't standing on top of the object. Is there any way to make it so that the player can only jump while on the top surfaces of these objects?
Thank you for your time.
Your answer
Follow this Question
Related Questions
Sprite sheet sprites into a material 0 Answers
Free Look Camera Pivot 1 Answer
Is there any way to do a double jump with the first person controller? 2 Answers
Begginer Jumping javascrpit problem. 1 Answer