Alice Community  

Go Back   Alice Community > Alice 2 > Works-In-Progress

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Collision Detection while walking
Old
BugMeNot
Junior Member
 
Status: Offline
Posts: 2
Join Date: Sep 2009
Question Collision Detection while walking - 12-03-2009, 04:09 PM

I am making an adventure-type game and have created a world. The game was working fine, except collision detection. He would simply walk through other objects. There are a few workarounds to this. The simplest one is the built in arrow-key control hit detection. If the camera is set to be controlled by arrow keys in the Events panel, the camera somehow automatically knows to not go through objects.

This would be perfect except by setting the person's vehicle to the camera, instead of moving forward from the person's perspective, it will move the person forward from the camera's perspective. The actual collision detection works great, except my character can no longer walk straight or even on a level angle (depending on camera angle).

Is there a way to use this built-in hit detection on other objects other than the camera? or, What is the best workaround for this situation?
Attached Files
File Type: a2w nov 3 backup.a2w (16.65 MB, 14 views)
   
Reply With Quote
 

Tags
collision, detection, hit, move, walls

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 ©2021, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.