OpenB3D collision between 2 Cubes - Help needed?
Hi! Can anyone sponsor a bit of example code that shows how to set up collision between 2 sets of cubes?
Basically I have a border for a level made of grey cubes. I have colored cubes that need to collide with the grey cubes but when they collide they must stop moving. I've got it all set up nice but I've never used OpenB3D before so need some help.
1: How do I set up collision between 2 cubes using maybe box collision?
I would have posted it on SyntaxBomb but it's been hacked again and is currently down.
The built-in collision system works exactly like Blitz3D as it was ported to MiniB3D and then OpenB3D.
There were a few bugs but these have been fixed. So you should be able to port working code from Blitz3D and it should work right in OpenB3D.
There's nothing different in the usage, see the collisions example taken from Blitz3D.
Yes, basically the same collisions, but lately I have tested on the collision checks part and commands like
it seems Blitz3D can do both ways while OpenB3D checks it only on the moving entity side which is practically enough:
Can you confirm this Mark? I would also say the same with collision normals.
Reply To Topic (minimum 10 characters)
Please log in to reply