Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by AndrewAMD. 12/05/23 10:56
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
6 registered members (AndrewAMD, alibaba, fairtrader, ozgur, TipmyPip, Quad), 622 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: giving c_trace a direction? [Re: Pappenheimer] #287489
09/01/09 02:36
09/01/09 02:36
Joined: Jun 2006
Posts: 214
Germany, NRW
T
TheThinker Offline
Member
TheThinker  Offline
Member
T

Joined: Jun 2006
Posts: 214
Germany, NRW
Thank you Pappenheimer:
This helps me alot.
I don't like to use trigonometry, because in my case it is simply to slow. this vector calculation are more efficent.
I tried it with an extra vertex in my model, but the collision detection didn't like it.
Esper, I think Pappenheimers code is the best example. You only have to replace the Vector with an var[3] array.
I think it is wrong, because pan, tilt, roll are members of the "ANGLE" struct and not the "VECTOR" struct.

Re: giving c_trace a direction? [Re: TheThinker] #287500
09/01/09 03:55
09/01/09 03:55
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
Quote:
You only have to replace the Vector with an var[3] array.
I think it is wrong, because pan, tilt, roll are members of the "ANGLE" struct and not the "VECTOR" struct.
It'll work fine, since ANGLE and VECTOR structs both contain three vars VECTOR functions can use ANGLEs and vice-versa.

Jibb


Formerly known as JulzMighty.
I made KarBOOM!
Re: giving c_trace a direction? [Re: JibbSmart] #287532
09/01/09 10:07
09/01/09 10:07
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
I'm glad that I could help! laugh

Page 2 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | 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