Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, Grant, Neb), 908 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 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