Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Box built from planes has offset collision

Author
Message
tiffer
20
Years of Service
User Offline
Joined: 6th Apr 2006
Location: Scotland
Posted: 28th Feb 2014 22:11
Ok my problem is that I had the idea to build a box out of 6 limbs. The problem is when using sparky's collision DLL the collision seems to be beside the box instead of around it.

Here's how I made the box.



Cwatson
tiffer
20
Years of Service
User Offline
Joined: 6th Apr 2006
Location: Scotland
Posted: 28th Feb 2014 22:25 Edited at: 28th Feb 2014 22:26
Fixed it never mind. This is how you should do it a box in planes.





Cwatson
tiffer
20
Years of Service
User Offline
Joined: 6th Apr 2006
Location: Scotland
Posted: 28th Feb 2014 22:29
Heaven for bid... collisions still off.

Cwatson
BMacZero
20
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 1st Mar 2014 06:57
How are you setting up the collision with Sparky's?

tiffer
20
Years of Service
User Offline
Joined: 6th Apr 2006
Location: Scotland
Posted: 2nd Mar 2014 17:55
It seems that making cubes like this also seems to mess up object occlusion so I'll have to change my plan.

The objects were set up using sc_setupobject and were set up as a group using box collision.

Cwatson

Login to post a reply

Server time is: 2026-07-06 14:39:51
Your offset time is: 2026-07-06 14:39:51