Gamestudio Links
Zorro Links
Newest Posts
Tradestation Multi-sessions??
by TipmyPip. 06/27/26 04:19
Z9 getting Error 058
by jcl. 06/26/26 14:07
ZorroGPT
by TipmyPip. 06/24/26 18:31
Lapsa's very own thread
by Lapsa. 06/20/26 18:18
Ranger by Robert Pardo - now for Zorro
by Smallz. 06/20/26 11:23
Z12 live performance
by jcl. 06/19/26 11:21
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (TipmyPip), 9,445 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Student_64151, Koti, curry, DeepxKalsi, Samed
19219 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
camera find object #300693
12/04/09 14:09
12/04/09 14:09
Joined: Nov 2008
Posts: 109
J
JGGamer Offline OP
Member
JGGamer  Offline OP
Member
J

Joined: Nov 2008
Posts: 109
How do I find an object with the camera, no matter its position?
For example, let's say I have an object at an unknown position, and I want the camera to face that object. Even if the object jumps to another position, the camera faces that direction.

Re: camera find object [Re: JGGamer] #300702
12/04/09 15:27
12/04/09 15:27
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline
Expert
Joey  Offline
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
that's simple vector math. there's a sample doing just that in the manual afaik.

Re: camera find object [Re: Joey] #301052
12/07/09 23:55
12/07/09 23:55
Joined: Nov 2008
Posts: 109
J
JGGamer Offline OP
Member
JGGamer  Offline OP
Member
J

Joined: Nov 2008
Posts: 109
Didn't I reply to this? I did but it probaly didn't go through. I hope I didn't reply in a different post. If I did I apologize. However, I wanted to let you know I found something in vec_to_angle.


Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1