Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
super philip
17
Years of Service
User Offline
Joined: 31st Jul 2008
Location: Italy
Posted: 5th Jun 2013 18:26
have to align in real time the enemy coming towards me.
with set object to object orientation does not work.
because 'the enemy lines in the opposite direction to the ship of the player.
could you help me?
Pincho Paxton
23
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 5th Jun 2013 18:27
Use point object instead.

super philip
17
Years of Service
User Offline
Joined: 31st Jul 2008
Location: Italy
Posted: 5th Jun 2013 18:45
using object point is wrong, because the enemies
at a certain distance from the player swings car.
while point object must be wearing the player.
I mean the gradual alignment when the enemies from far away
closer to the player, comunques thanks anyway.
chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 5th Jun 2013 19:36
Quote: "Use point object instead"



Quote: "using object point is wrong, because the enemies
at a certain distance from the player swings.... "


Use point object instead ...use a variable that force the enemies to point to player ...let say somthing with a timer.

your function
Quote: "If enemy see the player
timer=timer +1
if timer=2
point enemy ....x,y,z
else
timer=0
endif
endif"


Cheers.

I'm not a grumpy grandpa
super philip
17
Years of Service
User Offline
Joined: 31st Jul 2008
Location: Italy
Posted: 5th Jun 2013 19:56
thank you! now I try
Mage
Valued Member
19
Years of Service
User Offline
Joined: 3rd Feb 2007
Location:
Posted: 5th Jun 2013 23:25
Quote: "Use point object instead."

You are wrong and you should feel wrong.

Quote: "Use point object instead "

Good thinking Chafari. Excellent idea.

Login to post a reply

Server time is: 2026-07-07 05:40:19
Your offset time is: 2026-07-07 05:40:19