moving-moving collisions?

Blitz3D Forums/Blitz3D Programming/moving-moving collisions?

DarkEagle(Posted 2003) [#1]
in my gamey test thing i have a stack of cubes, 3 cubes tall. i also have a sphere rolling round which can push these blocks around the room. what im after is a way to push the bottom one away, and have either the ones above stay balanced above the cube, or to slide off to one side. im suspecting a combination of multiple updateworlds may be possible? after any advice really!


Ice9(Posted 2003) [#2]
Look at the LinePick command
It draws a line from point A to point B and returns
the Entity that is encountered along that line
PickedX Y Z commands return exactly wher the line intersected.


DarkEagle(Posted 2003) [#3]
excellent! the word that springs to mind right now is "doh" :)


DarkEagle(Posted 2003) [#4]
thanks puppy :) works a treat!