Hello everyone, I'm new here and new to game development.
At the moment i'm trying to (re)learn some math related to games and I could use some explanations on how to achieve the following:
Say you have 2 objects in 3d space. Object A is located, for example, at position(300, 100, 300) and object B at position(35, -225, -200). My question is how would make object B move towards object A? Also how would you make object B correctly rotate to object A so that it always faces or looks at object A?
moving a 3d object towards another
1 reply to this topic
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users