Alice Community  

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

Thread Tools Display Modes
checking if an object is directly in front of another object
Posts: n/a
Default checking if an object is directly in front of another object - 04-25-2011, 12: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
Senior Member
TauTrumpsPi's Avatar
Status: Offline
Posts: 399
Join Date: Mar 2011
Location: The diamond layer
Default 04-25-2011, 12:50 PM

Try this thread-

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?

Wondering about my username?
Reply With Quote

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