Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Quick question if anyone can answer fast i'll be in your debt
Old
jbrown
Guest
 
Status:
Posts: n/a
Exclamation Quick question if anyone can answer fast i'll be in your debt - 05-14-2010, 04:29 PM

Is it possible to make my character stay on the ground as i move it around maybe just hold it there like gravity???? I'm making a video and apparently it wasn't oriented right>
   
Reply With Quote
Old
dubastot
Senior Member
 
dubastot's Avatar
 
Status: Offline
Posts: 661
Join Date: Apr 2009
Location: Two Steps From Hell
Default 05-14-2010, 05:04 PM

Do you mean, if he falls off a cliff, he will fall down rather than stay in the air?

If yes, then all you have to do is an infinite loop saying when the guy is a above the ground, he falls down.


I'm a web developer/ designer now.
   
Reply With Quote
Old
Watsamax1
Senior Member
 
Watsamax1's Avatar
 
Status: Offline
Posts: 155
Join Date: Aug 2009
Default 05-15-2010, 12:54 PM

Maybe set their vehicle to the ground. Or have them move up as they move down


___________________________________________________

Watsamax Industries
Games Produced for Watsamax Industries Inc. 2010
Watsamax Industries: New York
Watsamax@gmail.com
http://www.facebook.com/profile.php?id=100001253371874#!/profile.php?id=100001253371874&v=wall
http://www.youtube.com/user/Watsamax
___________________________________________________
   
Reply With Quote
Old
Dameria
Senior Member
 
Dameria's Avatar
 
Status: Offline
Posts: 978
Join Date: Sep 2009
Location: United States
Default 05-15-2010, 01:07 PM

I know what you mean, I have solved this problem in a few of my worlds before. Just create a cube and make it "move to" the camera. Then, make the camera vehicle to the cube. Now, for all of the methods that you made where the camera moves forward, backward, left or right, put the cube in place of the camera so the cube does all of those things. Make sure that the method where the camera looks up or down (if you have that) is the actual camera turning up or down and not the cube, every other movement though should be done by the cube.

If this is just a movie though and not a game (like if you don't even have methods for keyboard keys to move the camera), and your problem is just that the camera is positioned at an angle, you can fix it by just setting the point of view of the camera to the "world", and then move it back to the position you had it in before without messing up the angle like you did before.


Check out my best projects so far and please comment:

Tic-Tac-Toe 2.0 ................... http://www.alice.org/community/showthread.php?t=3548
Alice Paint ........................... http://www.alice.org/community/showthread.php?p=23408
Real-Time Clock .................. http://www.alice.org/community/showthread.php?p=12725
Maze Game ......................... http://www.alice.org/community/showthread.php?t=4301

Last edited by Dameria; 05-15-2010 at 01:10 PM.
   
Reply With Quote
Reply

Thread Tools
Display Modes

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 Jump



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