The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
#1
Rotate an entity to face another entity

More or less what the title says. The Camera object has a built in "RotateTo" function, but I can't find anything for general entity use, and I'm not sure how to go about using the matrices route.

EDIT: What I mean by this is how to rotate an object to face another object in code.
(This post was last modified: 10-13-2015, 08:50 PM by Abion47.)
10-13-2015, 02:13 PM
Find


Messages In This Thread
Rotate an entity to face another entity - by Abion47 - 10-13-2015, 02:13 PM



Users browsing this thread: 1 Guest(s)