Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   How do I...? (http://www.alice.org/community/forumdisplay.php?f=16)
-   -   How to make real physics (http://www.alice.org/community/showthread.php?t=5318)

mnunesb 10-27-2010 04:29 PM

How to make real physics
 
I'm using alice to develop a bike game, where i have to move a bike in a course, until i find a ramp. i can't develop a method to make it go up the ramp, jump and then land, with real (or at least close to) real life physics. also, the speed of the bike is variable, so i want the height and distance to change acordingly to the speed

x2495iiii 10-27-2010 07:34 PM

Falling realistically is easy, just have him go up a certain amount with an end gently style, then let him go down his distance above the ground with a begin gently style.

mnunesb 10-28-2010 05:27 PM

the certain amount is the tricky part, because i had to rezise every item (the biker, the track), so in order to apply the proper function, i would have to come up with a way to measure the size of the bike, the angle of the ramp. any suggestions on how i could do that? btw, thanks for the idea, i will try that with some "random" numbers until i make it seam realistic enough

helli 10-13-2012 01:34 AM

same project
 
i have the same project and i neeed to do it exactly the same thing but wiht a car! HELp me out.>! if ur game is complete please do share !

x2495iiii 10-13-2012 11:29 AM

1 Attachment(s)
It's tough with Alice, since collision detection is kind of hit or miss.

I like to fake it with dummy objects.

Here's an example of how to do that.


All times are GMT -5. The time now is 10:24 PM.

Copyright ©2019, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.