|
1 registered members (TipmyPip),
18,631
guests, and 7
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: angles from a surface....
[Re: Chaeon]
#169038
11/23/07 15:54
11/23/07 15:54
|
Joined: Jan 2006
Posts: 968
EpsiloN
User
|
User
Joined: Jan 2006
Posts: 968
|
Quote:
___NORMAL___ Vectors, often used to indicate a surface normal by several instructions. A surface normal is a vector of length 1 perpendicular to that surface ___Type:___ vector ___Remarks:___ Will only remain valid until the next wait instruction. ___Modified by:___ trace - normal = surface normal ___Example:___ function test { vec_set(temp, my.x); temp.z -= 1000 // 100 Quants down trace_mode = ingnore_my; result = trace(my.x, temp); vec_set(my.x, target); vec_to_angle(my.pan, normale); // put on surface } ___See Also:___ Entity, my, trace, target, bounce
From the A5 manual... 
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|
|
|