About Store Forum Documentation Contact



Post Reply 
[Solved] Actor
Author Message
Esenthel Offline
Administrator

Post: #16
RE: Actor
Wheel& create(Actor &vehicle,Matrix &matrix,Param &param); // create, 'vehicle'=vehicle actor to attach the wheel to, 'matrix'=wheel matrix in world space (must be normalized), 'param'=wheel parameters

when you load the vehicle it has different world matrix,

try something like this

Matrix().setPos(Vec( 1,-0.7, 1.9)) * actor.matrix()
12-03-2009 07:49 PM
Find all posts by this user Quote this message in a reply
Harry Offline
Member

Post: #17
RE: Actor
Ok it works now properly.

Can I save and load Bools using f>> and f<< or better way is f.putBool(x) x=f.getBool(); ?
12-04-2009 05:17 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #18
RE: Actor
yes, Bool's are of constant size (always 8-bits), and can be saved loaded with << and >>
12-04-2009 05:18 PM
Find all posts by this user Quote this message in a reply
Harry Offline
Member

Post: #19
RE: Actor
Ok thanks.
12-04-2009 05:19 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply