Collisions for moving things
Blitz3D Forums/Blitz3D Programming/Collisions for moving things
| ||
Hi, I tried something, which had a strange effect. I'm converting the Driver-demo to a game and I tried to add a cube that was moving. So: testcube = CreateCube() EntityType testcube, SCENE PositionEntity testcube, 100, 0.5, 5 While the main loop contains: MoveEntity testcube, -0.1, 0, 0 The collisions are ellipsoid-to-polygon collisions. When I drive the car behind the cube, I collide with it (= normal). When my car is standing still and the cube is moving towards me, it passes right through my car. Also when I drive towards the cube when the cube is coming towards my car. Shouldn't the cube push my car? Or is the collision one way (the car can collide with the cube, but not the cube with the car)? How can I do this, to make the cube push my car, when my car is in the cube's way? |
| ||
Blitz doesn't support moving poly collision but thankfully for you there is a solution. Look in general discussion. |