1 registered members (1 invisible),
857
guests, and 10
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Trail angle problems
#318922
04/10/10 19:22
04/10/10 19:22
|
Joined: May 2009
Posts: 445 Peine, Germany
Razoron
OP
Senior Member
|
OP
Senior Member
Joined: May 2009
Posts: 445
Peine, Germany
|
Hi, i have some problems with the angels of the trail of my plane. At the moment i set the angels like this:
trail.pan=my.pan;
trail.tilt=my.tilt-90;
trail.roll=my.roll;
vec_set(trail.x,my.x);
But it doesn't fit. The edges of the trail don't fit to wings. Here is a little video: DOWNLOAD Thanks in advance.
|
|
|
Re: Trail angle problems
[Re: Widi]
#318981
04/11/10 11:04
04/11/10 11:04
|
Joined: May 2009
Posts: 445 Peine, Germany
Razoron
OP
Senior Member
|
OP
Senior Member
Joined: May 2009
Posts: 445
Peine, Germany
|
The download link IS working, i just tried it. I will test your suggestion.
Last edited by Razoron; 04/11/10 11:04.
|
|
|
Re: Trail angle problems
[Re: Razoron]
#318990
04/11/10 11:51
04/11/10 11:51
|
Fast_System
Unregistered
|
Fast_System
Unregistered
|
This is a ANGLE. You can't use vector expression. Try this again;
vec_set(trail.pan,my.pan) and delete "trail.pan=my.pan" expression...
Or,
vec_set(trail.tilt,my.tilt) and delete "trail.tilt=my.tilt" expression...
Or,
vec_set(trail.roll,my.roll) and delete "trail.roll=my.roll" expression...
If you want to play x plane, define a vector.
|
|
|
Re: Trail angle problems
[Re: Rei_Ayanami]
#318994
04/11/10 11:58
04/11/10 11:58
|
Fast_System
Unregistered
|
Fast_System
Unregistered
|
@Fast_System : Please be informed before you post such stupid and senseless post! Vector expressions work with vec_set but what you wrote won't work!
My English isn't good you may have misunderstood my message.
|
|
|
Re: Trail angle problems
[Re: ]
#318995
04/11/10 12:00
04/11/10 12:00
|
Joined: Feb 2009
Posts: 3,207 Germany, Magdeburg
Rei_Ayanami
Expert
|
Expert
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
|
No, i understood you right "This is a ANGLE. You can't use vector expression. Try this again;" but he can, it will work but such won't work: "vec_set(trail.tilt,my.tilt);"
|
|
|
Re: Trail angle problems
[Re: Rei_Ayanami]
#318996
04/11/10 12:21
04/11/10 12:21
|
Joined: Aug 2007
Posts: 1,922 Schweiz
Widi
Serious User
|
Serious User
Joined: Aug 2007
Posts: 1,922
Schweiz
|
@Fast_System: Yes you are really false. If you use vec_set(my.pan,you.pan); then the Engine do following:
vector1[0] = vector2[0]; // pan or x or red vector1[1] = vector2[1]; // tilt or y or green vector1[2] = vector2[2]; // roll or z or blue
The pan / tilt / roll or red / green / blue are notting other than a Vector (Vector = array that contains 3 values)
EDIT: have a look in the manual before you writing someting false.
Last edited by Widi; 04/11/10 12:23.
|
|
|
Re: Trail angle problems
[Re: Widi]
#318998
04/11/10 12:32
04/11/10 12:32
|
Fast_System
Unregistered
|
Fast_System
Unregistered
|
I may have misunderstood the question.Because vectors have 3 kinds of information about that. I'm sorry for mistakes...
Last edited by Fast_System; 04/11/10 12:33.
|
|
|
Re: Trail angle problems
[Re: Rei_Ayanami]
#319001
04/11/10 12:59
04/11/10 12:59
|
Joined: May 2009
Posts: 445 Peine, Germany
Razoron
OP
Senior Member
|
OP
Senior Member
Joined: May 2009
Posts: 445
Peine, Germany
|
@Razoron: Is your airplane a physics object?
No, it isn't. I move it with c_move and c_rotate.
|
|
|
|