Point a model in direction vec(x, y, z)

Started by
0 comments, last by HobbyDude 12 years, 10 months ago
Hello!

How do I point a model in the direction vec(x, y, z)? I have a normalized 3D vector x, y, z and I want to point a model to face the direction the vector is pointing. How do I do that? I've played around with 'd3d_transform_set_rotation_axis()' and 'd3d_transform_set_translation()' but have had no luck.

Thanks in advance for the help!
Advertisement
LOL, posted on the wrong forum... This is for a GameMaker game. I'll post on the GameMaker forum now (blush)...:P

This topic is closed to new replies.

Advertisement