Vectors


(LION) #1

thats an example from fire_rocket
bust what does these tell me or what do they do:
VectorCopy( start, bolt->s.pos.trBase ); start= rocket starpos. , ???
VectorScale(dir,25,bolt->s.pos.trDelta); dir= direction,speed, ???
SnapVector( bolt->s.pos.trDelta ); clear ^^
VectorCopy (start, bolt->r.currentOrigin); start= another startpos??? , ???

i dont wanna know what the vector functions mean thats clear :stuck_out_tongue:
just : bolt->s.pos.trBase ;bolt->s.pos.trDelta ; bolt->r.currentOrigin and the 2nd “start”
??
thx in advance


(LION) #2

nobody got an answer???
c´mon lazy coders, just a little help


(uber_noob) #3

http://www.planetquake.com/code3arena/articles/article2.shtml

The rest is just reading the source comments and a little bit of thinking on your own ;).