About Store Forum Documentation Contact



Post Reply 
Code
Author Message
Krzysiek1105 Offline
Member

Post: #1
Code
How does it shorten ,to no was error?

wheel[0].create(car,Matrix().setPos(Vec( 1,-0.5, 1.5)),susp,r,susp_damping,susp_spring);
11-30-2009 02:55 PM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #2
RE: Code
please check the tutorial
11-30-2009 03:44 PM
Find all posts by this user Quote this message in a reply
Krzysiek1105 Offline
Member

Post: #3
RE: Code
I did yes,but changes do not see.
Quote:Wheel::Param wp,susp,susp_damping,susp_spring,r;
wp.r=0,
wp.susp=0,
wp.susp_damping=0,
wp.susp_spring=100;
wheel[0].create(car,Matrix().setPos(Vec( 1,-0.5, 1.5)),(susp,susp_damping,susp_spring,r));
(This post was last modified: 12-01-2009 04:04 PM by Krzysiek1105.)
12-01-2009 04:03 PM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #4
RE: Code
Wheel::Param wp; // wheel parameters
wheel[0].create(car,Matrix().setPos(Vec( 1,-0.5, 1.5)),wp);
12-01-2009 04:07 PM
Find all posts by this user Quote this message in a reply
Post Reply