- Home /
Pulling boxes
Hello guys,
I really need your help here because I'm starting to lose my mind >X
I'm trying to write a box pulling/pushing code.
The problem happens once you're between the two boxes while pulling one of them towards the other.
Let's say you're pulling box "X" towards box "Y"
Now, of course while pulling it, you'll get inside the trigger zone of box "Y" which will also parent it to the player, allowing you to move both boxes at the same time (which we obviously don't want here)
The code I'm using is just simple trigger enters and parenting.
Your answer
Follow this Question
Related Questions
Did triggers inside loaded gameobjects break in a recent update? 0 Answers
Kinematic Movement/Collisions? 1 Answer
Curious about "Vortex" force (HELP) 2 Answers
Is there a way to make child colliders not be classed as parent colliding? 1 Answer
Performance issues with trigger colliders and lots of projectiles. 2 Answers