Alice Community  

Go Back   Alice Community > General Discussion > Questions and Comments

Reply
 
Thread Tools Display Modes
Collision detection
Old
  (#1)
labtek9
Member
 
Status: Offline
Posts: 18
Join Date: Aug 2009
Exclamation Collision detection - 09-05-2009, 06:20 PM

I need super easy collision detection i hate walking through buildings. I need this because for my new game i dont want to walk through stuff, at first i was thinking it was not solid and its not so i could really use collision detection


REALLY SIMPLE!!
   
Reply With Quote
Old
  (#2)
MuqiTechNerd
Junior Member
 
MuqiTechNerd's Avatar
 
Status: Offline
Posts: 10
Join Date: Oct 2009
Location: Plano
Default 10-20-2009, 10:23 PM

well u could always set an if/then statement. if variable (of whatever) is within so and so meters of variable (building) then variable (people)... something. experiment. u cud do a wait method for _ seconds. umm. move away from building _ meters. something. but thats the basic idea.


Muqtadaa M- Techie
  Send a message via AIM to MuqiTechNerd  
Reply With Quote
Old
  (#3)
x2495iiii
Super Moderator
 
x2495iiii's Avatar
 
Status: Online
Posts: 665
Join Date: Dec 2008
Location: Somewhere in the Continental U.S.
Default 10-21-2009, 01:43 AM

Or you could use the simplest one: The preset collision detection engine comes with the "let the arrow keys move the camera" method.
   
Reply With Quote
Old
  (#4)
xxledzeppelin2x3
Senior Member
 
xxledzeppelin2x3's Avatar
 
Status: Offline
Posts: 126
Join Date: Oct 2009
Location: michigan
Default 10-31-2009, 09:17 PM

when you let the arrow keys move the camera though it messes the game up?
  Send a message via AIM to xxledzeppelin2x3  
Reply With Quote
Old
  (#5)
labtek9
Member
 
Status: Offline
Posts: 18
Join Date: Aug 2009
Default 11-02-2009, 04:48 PM

let arrow keys move is the only thing i use with 2.2 but it never works!


Star Wars Jedi Battle character preview out now please comment
   
Reply With Quote
Old
  (#6)
Jeremytroid
Member
 
Jeremytroid's Avatar
 
Status: Offline
Posts: 19
Join Date: Oct 2009
Default 11-04-2009, 07:20 PM

If you're using a Mac then collision detection never works on any version. In my Mirror's edge game the "fall" method made things solid. It was "If camera is within 5 meters of building cluster 4 do camera move backwards 5 meters" sounds weird but it works!
Edit: this makes all the objects solid not just the one


AKA
Jeremy
The_Mirrors_Edge
   
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 ©2009, Carnegie Mellon University