So I'm making a three-dimensional danmakufu game in Blender. I'm trying to restrict the player's movement so that someone can't just barrel through the level.

I have currently restricted his movement to a lidless box that is 6 units 'X' by 18 units 'Y' by 2 units 'Z'. All forms of bounding cause the player to be sent flying out of the screen. Can someone help me please? The box moves -.0025 units x per second. a markup of the game in which those with screen readers cannot see that I've pointed out the bounds, player, loop and enemy This is only with dynamic or body physics. If using static physics, the player can just go through the barrier.


Currently, with the bounding box set to Rigid Body with x-translation enabled and the player as a dynamic object with all degrees of freedom stripped (and neither had collisions on in the first place!) the player is instantly flung off in the direction of positive x, negative y.

Here have some more pictures! top bottom

  • $\begingroup$ What exactly do you mean by restrict their movements? I'm just having a hard time picturing what this situation looks like right now>. $\endgroup$
    – ruckus
    May 15, 2015 at 19:10
  • $\begingroup$ I've tried Triangle Mesh. I've tried Convex Hull. I've even tried it with different objects: simply stick a ball into a cube with either bounding mesh that is lacking a face, and the ball goes pchooo and is sent flying x-wards at velocity y or even teleported out. $\endgroup$
    – Nefer007
    May 15, 2015 at 19:45
  • $\begingroup$ it doesn't even fall: it's meant to hold a z-position and stay there inside the 6x18 box. Different settings can have the player spazzing out and being sent x-wards, being warped out who-knows-where, or even utterly unaffected and ignored by the box! $\endgroup$
    – Nefer007
    May 16, 2015 at 14:47
  • $\begingroup$ psst: @X-27, I'd have upvoted your answer if you'd actually answered. I'd also have added gifs if I could. $\endgroup$
    – Nefer007
    May 16, 2015 at 15:01
  • 1
    $\begingroup$ Let us continue this discussion in chat. $\endgroup$
    – Nefer007
    May 16, 2015 at 22:42

1 Answer 1


The box is having weird collision with the player, you can probably see this happening if you use "physics visualization".

enter image description here

To solve, switch the physics type of the box to "static" and have it clamp to the travel path that it needs to glide along. I made a working .blend aside from the "clamp to" because I'm not sure of your situation.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .