positionentity

Blitz3D Forums/Blitz3D Beginners Area/positionentity

Just a thought....

Maybe fill the level with a series of "volume zones"...basicly a series of alpha zero pivots with a rectangular collision structure around them defineing a volume of 3D space...

As the player shoots the projectile...set-up sphere to "volume" box collisions with a seperate child pivot of the projectile...then as the projectile flies to it's destination keep a "pointer" to the "volume" box it is passing through...when the projectile hits something, turn off the player collisions, position them at the last "volume" box pivot point, turn the player collisions back on and move them to the point where the projectile hit...

This way the player can pass by level obsticals, yet still use the same collision system to avoid being teleported directly into a wall/floor/etc..