Search found 1 match

by jack1604
Wed Oct 10, 2018 1:49 pm
Forum: Questions and Help
Topic: Rotate Gun to target
Replies: 1
Views: 2571

Rotate Gun to target

Hello,
Please help me solve the problem.
Player in my game have a gun. first point of gun is A(2, 1, 0) , last point of gun is B(0, 1, 0), target point is C(5, 5, 5)
How to rotate first point of gun around point B to line BC to aim target
sorry for bad english