Reply to topic  [ 10 posts ] 
Physics and collision in 3D 
Author Message
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 7:35 pm
Posts: 6580
Location: Getting there
Reply with quote
Before I start searching in the next couple of days I was wondering if you had any tips for resources to look at regarding physics and collision in 3D?

It will be very basic in that there will only be one object affected by physics and this will only ever collide with one other object so shouldn't be too complex.

_________________
Oliver Foggin - iPhone Dev

JJW009 wrote:
The count will go up until they stop counting. That's the way counting works.


Doodle Sub!
Game Of Life

Image Image


Wed Mar 17, 2010 8:40 am
Profile WWW
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 7:35 pm
Posts: 6580
Location: Getting there
Reply with quote
Hmm... I might have a look at some library stuff (i.e. SIO2).

_________________
Oliver Foggin - iPhone Dev

JJW009 wrote:
The count will go up until they stop counting. That's the way counting works.


Doodle Sub!
Game Of Life

Image Image


Wed Mar 17, 2010 8:42 am
Profile WWW
Spends far too much time on here
User avatar

Joined: Thu Apr 23, 2009 9:40 pm
Posts: 4876
Location: Newcastle
Reply with quote
spherical or box collisions?

_________________
Twitter
Charlie Brooker:
Macs are glorified Fisher-Price activity centres for adults; computers for scaredy cats too nervous to learn how proper computers work; computers for people who earnestly believe in feng shui.


Wed Mar 17, 2010 6:06 pm
Profile
Occasionally has a life
User avatar

Joined: Fri Apr 24, 2009 6:33 pm
Posts: 491
Location: UK, England.
Reply with quote
I don't know if it will be of any use to you but we did physics in Unreal Script, may be worth a browse.

Heres my lectures website, Dr. Ir. C. Price.

Edit - its 3132.

_________________
Twitter: AdamW89
Flickr: The Hobgob

Nietzsche wrote:
Insanity in individuals is something rare - but in groups, parties, nations and epochs, it is the rule.


Wed Mar 17, 2010 7:53 pm
Profile
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 7:35 pm
Posts: 6580
Location: Getting there
Reply with quote
finlay666 wrote:
spherical or box collisions?

One sphere, one box.

_________________
Oliver Foggin - iPhone Dev

JJW009 wrote:
The count will go up until they stop counting. That's the way counting works.


Doodle Sub!
Game Of Life

Image Image


Wed Mar 17, 2010 8:55 pm
Profile WWW
Spends far too much time on here
User avatar

Joined: Thu Apr 23, 2009 9:40 pm
Posts: 4876
Location: Newcastle
Reply with quote
Fogmeister wrote:
finlay666 wrote:
spherical or box collisions?

One sphere, one box.


The engine won't work like that

Sphere or box refers to the grid that goes around the object to check for collisions

A sphere around the object or a box..

You COULD do a per pixel but it's slow

http://www.idevgames.com/forum/showthread.php?t=9212
might be some help

_________________
Twitter
Charlie Brooker:
Macs are glorified Fisher-Price activity centres for adults; computers for scaredy cats too nervous to learn how proper computers work; computers for people who earnestly believe in feng shui.


Thu Mar 18, 2010 10:51 am
Profile
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 7:35 pm
Posts: 6580
Location: Getting there
Reply with quote
finlay666 wrote:
Fogmeister wrote:
finlay666 wrote:
spherical or box collisions?

One sphere, one box.


The engine won't work like that

Sphere or box refers to the grid that goes around the object to check for collisions

A sphere around the object or a box..

You COULD do a per pixel but it's slow

http://www.idevgames.com/forum/showthread.php?t=9212
might be some help

Ah...

Well there is a tutorial package with the software I have so I'll have a looky at what goes on in there.

I've got a week off work in a couple of weeks and I want to get to a point where I can start doing some proper stuff towards the game.

At the moment everything is prep and learning :D

The collision I want will involve a flat surface which isn't affected by gravity and which the user can control and a ball which rolls along the surface depending on what the user does to the surface. Then when it reaches the edge the ball will fall off. At the moment I know precisely zero about how to get this to work but I'll get there in the end :D

_________________
Oliver Foggin - iPhone Dev

JJW009 wrote:
The count will go up until they stop counting. That's the way counting works.


Doodle Sub!
Game Of Life

Image Image


Thu Mar 18, 2010 11:06 am
Profile WWW
Spends far too much time on here
User avatar

Joined: Thu Apr 23, 2009 9:40 pm
Posts: 4876
Location: Newcastle
Reply with quote
just box then I think

Sphere is more useful as an advanced method

_________________
Twitter
Charlie Brooker:
Macs are glorified Fisher-Price activity centres for adults; computers for scaredy cats too nervous to learn how proper computers work; computers for people who earnestly believe in feng shui.


Thu Mar 18, 2010 11:16 am
Profile
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 7:35 pm
Posts: 6580
Location: Getting there
Reply with quote
finlay666 wrote:
just box then I think

Sphere is more useful as an advanced method

Cool, thanks!

I'm sure Ill be back here asking more questions though :D

(Sometimes I wish I'd done some more interesting stuff at uni)

_________________
Oliver Foggin - iPhone Dev

JJW009 wrote:
The count will go up until they stop counting. That's the way counting works.


Doodle Sub!
Game Of Life

Image Image


Thu Mar 18, 2010 11:33 am
Profile WWW
Spends far too much time on here
User avatar

Joined: Thu Apr 23, 2009 9:40 pm
Posts: 4876
Location: Newcastle
Reply with quote
http://xna-uk.net/files/folders/randomc ... y1299.aspx

That is a C# based example and should be some help

_________________
Twitter
Charlie Brooker:
Macs are glorified Fisher-Price activity centres for adults; computers for scaredy cats too nervous to learn how proper computers work; computers for people who earnestly believe in feng shui.


Fri Mar 19, 2010 12:51 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 10 posts ] 

Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.