Author Topic: About "set-object-facing-object"  (Read 1960 times)

0 Members and 1 Guest are viewing this topic.

Offline ReeNoiP

  • 27
  • I FRED
About "set-object-facing-object"
I am trying to turn a destroyer using this sexp and a waypoint, but have problems setting the turn time, so that it looks realistic. If I set something like 800, it turns in 1-2 seconds, but if I set 8000 (assuming milliseconds) it doesn't move at all.

What I have is another ship heading for the waypoint at 20 m/s, and I want it to look like the destroyer is trying to face that ship.

set-object-facing-object
destroyer
waypoint
??
0
Uncharted Territory is released. But I still need voice actors

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: About "set-object-facing-object"
I've had a lot of trouble with this SEXP. I'd just use set-object-facing and input the waypoint's coordinates instead of bothering with set-object-facing-object.

 

Offline headdie

  • i don't use punctuation lol
  • 212
  • Lawful Neutral with a Chaotic outook
    • Skype
    • Twitter
    • Headdie on Deviant Art
Re: About "set-object-facing-object"
what you turning the destroyer for?

I ask looking for an alternative way to do it
Minister of Interstellar Affairs Sol Union - Retired
quote General Battuta - "FRED is canon!"
Contact me at [email protected]
My Release Thread, Old Release Thread, Celestial Objects Thread, My rubbish attempts at art

 

Offline Rodo

  • Custom tittle
  • 212
  • stargazer
    • Steam
Re: About "set-object-facing-object"
If you issue an attack order to that destroyer it might turn to face the enemy ship.
el hombre vicio...

  

Offline ReeNoiP

  • 27
  • I FRED
Re: About "set-object-facing-object"
If you issue an attack order to that destroyer it might turn to face the enemy ship.

Yeah, but I can't control the speed. And it will bank and move towards the ship, which I don't want. I am going to try with set-object-facing, once I get some time again.
Uncharted Territory is released. But I still need voice actors