Alice Community How to make real physics
 User Name Remember Me? Password

 Thread Tools Display Modes
 How to make real physics
 mnunesb Guest   Status: Posts: n/a How to make real physics - 10-27-2010, 05:29 PM 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 Last edited by mnunesb; 10-27-2010 at 06:37 PM.
 x2495iiii Super Moderator     Status: Offline Posts: 3,508 Join Date: Dec 2008 Location: Somewhere in the Continental U.S. 10-27-2010, 08: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 Guest   Status: Posts: n/a 10-28-2010, 06: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
 same project
 helli Junior Member   Status: Offline Posts: 1 Join Date: Oct 2012 same project - 10-13-2012, 02:34 AM 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
Super Moderator

Status: Offline
Posts: 3,508
Join Date: Dec 2008
Location: Somewhere in the Continental U.S.
10-13-2012, 12:29 PM

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.
Attached Files
 RampPhysics.a2w (250.3 KB, 16 views)

(')>

 Tags gravity, how to, jump, physics

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is Off Forum Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Announcements     Community News and Announcements Alice 3     How Do I?     Works In Progress     Share Your World     Share Custom Classes     Bugs and Trouble Shooting     Suggestion Box Alice 2     How do I...?     Works-In-Progress     Share Worlds     Share Objects     Bugs and Troubleshooting     Suggestion Box Educators     Teaching with Alice     Teaching Using Alice 3     Teaching Using Alice 2     CS Principles and Alice     AP CSA and Intro to Java and Alice     Workshops     Alice Player and VR General Discussion     Questions and Comments     The Lounge

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

 Contact Us - Alice.org - Archive - Top