Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rotate an entity to face another entity
Abion47 Offline
Senior Member

Posts: 369
Threads: 22
Joined: Oct 2015
Reputation: 46
#6
RE: Rotate an entity to face another entity

(10-13-2015, 11:21 PM)The Mug Wrote: CharMover_TurnToEntity() seems to be capable of making a character face an entity. It might be possible to trick the game into thinking your entity is character. I dont know if this function requires any additional helper files, as I have never used it before.

Looking through the hpc_api, it does seem like there might be a couple ways to trick the CharMover_TurnToEntity function (or perhaps more useful to this particular application, the CharMover_TurnInstantlyToEntity function) into using non-character entities, but this does seem like an odd absence for the API to have. I'll have to give it a test when I get a second at some point.
10-14-2015, 05:36 AM
Find


Messages In This Thread
RE: Rotate an entity to face another entity - by Abion47 - 10-14-2015, 05:36 AM



Users browsing this thread: 1 Guest(s)