Seperating Collisions From Responce

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Seperating Collisions From Responce

Postby Avidan84 » Sun Jan 04, 2009 8:01 pm

Hey There Forum Goers,
I am new at this whole physics thing in programming,
i was trying to use ODE because it separates collision from response
quite well, and i was wondering if this is possible in Newton.
Am i able to use Newton to tell me a collision has occurred and where on
on the object it was occurred, then let it switch over to my code to do the
response.
I only ask this because in my current degree i am only allowed to use a library
to evaluate if a collision has occurred, any help would be great,
Thank you.
Avidan84
 
Posts: 4
Joined: Thu Jan 01, 2009 6:38 am

Re: Seperating Collisions From Responce

Postby Julio Jerez » Sun Jan 04, 2009 8:41 pm

Just continue Using ODE
Julio Jerez
Moderator
Moderator
 
Posts: 11155
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Seperating Collisions From Responce

Postby Avidan84 » Sun Jan 04, 2009 8:48 pm

Boo i will have to wade my way through the errors i was getting, maybe i'll just develop them in parallel right now then,
thank you for your help.
Avidan84
 
Posts: 4
Joined: Thu Jan 01, 2009 6:38 am

Re: Seperating Collisions From Responce

Postby JoeWright » Sun Jan 04, 2009 8:58 pm

You can do this with Newton. Just don't mention other products on this forum as its for Newton only.

Joe
JoeWright
 
Posts: 69
Joined: Sat Apr 30, 2005 1:42 pm

Re: Seperating Collisions From Responce

Postby Avidan84 » Sun Jan 04, 2009 9:01 pm

Oh i am very sorry,
I found newton a much better use use,
i was disappointed at the though of leaving it,
once again very sorry.
Avidan84
 
Posts: 4
Joined: Thu Jan 01, 2009 6:38 am

Re: Seperating Collisions From Responce

Postby JoeWright » Sun Jan 04, 2009 9:20 pm

I'm not sure how to do this but I think it can be done with material callbacks. Search the forums, other people did similar things (e.g. breakable objects if a collision was forceful enough).

Joe
JoeWright
 
Posts: 69
Joined: Sat Apr 30, 2005 1:42 pm

Re: Seperating Collisions From Responce

Postby Avidan84 » Mon Jan 05, 2009 7:08 am

I was also wondering, is there tutorials for the latest SDK like there is the older one from 2006,
or is that change from one to the other minimal?
Avidan84
 
Posts: 4
Joined: Thu Jan 01, 2009 6:38 am

Re: Seperating Collisions From Responce

Postby JernejL » Mon Jan 05, 2009 1:31 pm

See: NewtonCollisionCollide, NewtonCollisionCollideContinue, those functions are what you need to use if you want to use newton as a collision library.
Help improving the Newton Game Dynamics WIKI
User avatar
JernejL
 
Posts: 1531
Joined: Mon Dec 06, 2004 2:00 pm
Location: Slovenia


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests