Collision like Gravity

Non-platform specific questions.

Collision like Gravity

Postby CoFFiN6 » Fri Sep 23, 2011 10:33 am

Hello all again.

I need ya help again!
I need to add code to script editer sothat a box falling onto another box will act like real life collision.

I made a picture to explain what I want
Please if someone can give me the code and explain how it works..Thank you
Attachments
Collision_help.jpg
Don't run faster then the dragon, run faster than your friends :P
User avatar
CoFFiN6
 
Posts: 49
Joined: Sun Sep 11, 2011 8:17 pm
Location: South Africa
Score: 4 Give a positive score

Re: Collision like Gravity

Postby skydereign » Fri Sep 23, 2011 11:21 am

This kind of thing is easily possible with gE 1.5's physics, but is rather difficult without it. It involves a fair amount of physics knowhow, so it'd be much easier just to use 1.5, or wait for the formal release. You could of course make a cheap way of doing it, but it wouldn't be as accurate or convincing.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: Collision like Gravity

Postby CoFFiN6 » Fri Sep 23, 2011 1:58 pm

Ohk yeah I would rather wait then for that GE because I want it perfect.thanx
Don't run faster then the dragon, run faster than your friends :P
User avatar
CoFFiN6
 
Posts: 49
Joined: Sun Sep 11, 2011 8:17 pm
Location: South Africa
Score: 4 Give a positive score

Re: Collision like Gravity

Postby ikarus » Fri Sep 23, 2011 9:44 pm

Yeah, really the only way you could do this is now is have animations for each way it falls down and hits since current ge doesn't support rotations.
>>>>>>>>>>>>>>>>>>>>> http://www.code1011.com <<<<<<<<<<<<<<<<<<<<<<<
ikarus
 
Posts: 143
Joined: Fri Aug 12, 2011 3:06 am
Score: 11 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest