Alice Community  

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

Reply
 
Thread Tools Display Modes
checking if an object is directly in front of another object
Old
kompsci
Guest
 
Status:
Posts: n/a
Default checking if an object is directly in front of another object - 04-25-2011, 01:39 PM

im making an fps where the user clicks on teh zombies to kill them and shoot them, everything works fine except you dont have to be looking that the zombie you want to shoot for it to die. im trying to fix this problem but cant seem to work it out. I dont really know how some of the functions im using work. I just need to see if the revolver is in line with the zombie but so far i cant seem to get anything to work.
   
Reply With Quote
Old
TauTrumpsPi
Senior Member
 
TauTrumpsPi's Avatar
 
Status: Offline
Posts: 399
Join Date: Mar 2011
Location: The diamond layer
Default 04-25-2011, 01:50 PM

Try this thread- http://www.alice.org/community/showthread.php?t=4861

This is what someone else suggested when I needed a shooting function. It worked well for me.


--------------------------------------------------------------------------------------------------------------------------
I have plenty of common sense. I just choose to ignore it.
-Calvin and Hobbes

Wondering about my Avatar?
http://en.wikipedia.org/wiki/Tardigrade

Wondering about my username?
http://www.youtube.com/watch?v=jG7vhMMXagQ
   
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 ©2021, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.