Esenthel
Administrator
|
RE: Actor
Wheel& create(Actor &vehicle,Matrix &matrix,Param ¶m); // 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 |
|
Harry
Member
|
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 |
|
Esenthel
Administrator
|
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 |
|
Harry
Member
|
|
12-04-2009 05:19 PM |
|