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.

Author
Message
mike5424
15
Years of Service
User Offline
Joined: 30th Mar 2009
Location:
Posted: 27th May 2009 22:38
can someone give me the code to set up a colision between object 1 and object 2, don't worry about wasting your time explaning it i will figure out what the cod means but could you say if it's using any dll's. thanks!

www.madninjas.co.nr we are mad and we are ninjas
Deego
16
Years of Service
User Offline
Joined: 21st May 2008
Location:
Posted: 27th May 2009 22:49 Edited at: 27th May 2009 22:50
Check the collision expressions in the basic3d section of the help files.

A=object collision(1,2)

if A=1 then...
mike5424
15
Years of Service
User Offline
Joined: 30th Mar 2009
Location:
Posted: 27th May 2009 22:52
but how would i stop it from moving?

www.madninjas.co.nr we are mad and we are ninjas
mike5424
15
Years of Service
User Offline
Joined: 30th Mar 2009
Location:
Posted: 27th May 2009 22:58
i had ago at figuring it out myself and what is wrong with this?:



www.madninjas.co.nr we are mad and we are ninjas
LBFN
17
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 27th May 2009 23:47
Here is some basic code to demonstrate collision using DBP commands:


LB

mike5424
15
Years of Service
User Offline
Joined: 30th Mar 2009
Location:
Posted: 28th May 2009 10:46
thanks so so so soooooooooo much LBFN, it worked!

www.madninjas.co.nr we are mad and we are ninjas
LBFN
17
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 28th May 2009 14:01
You're welcome.

Good luck with your project.

LB

Login to post a reply

Server time is: 2024-09-28 06:25:45
Your offset time is: 2024-09-28 06:25:45