About Store Forum Documentation Contact



Post Reply 
How to create joint
Author Message
mmx_Zz Offline
Member

Post: #1
How to create joint
Hi!
How to create joint between 2 actors?
some sample?
i try this

Bool Init()
{
Cam.dist =4;
Cam.pitch=-0.2;

Physics.create();
ground .create(Box_U(15,1,15,Vec(0,0,0)), 0);
ball .create(Ball (0.3,Vec(-1,0.3,0)));
ball2.create(Ball (0.3,Vec(-0.7,0.3,0));
joint.create(ball,ball2);

error C2664: 'EE::Joint::create' : cannot convert parameter 2 from 'EE::Actor' to 'EE::Actor *'
12-07-2009 05:18 PM
Find all posts by this user Quote this message in a reply
Dampire Offline
Member

Post: #2
RE: How to create joint
joint.create(ball,&ball2); ???
(This post was last modified: 12-08-2009 07:57 AM by Dampire.)
12-08-2009 07:40 AM
Find all posts by this user Quote this message in a reply
mmx_Zz Offline
Member

Post: #3
RE: How to create joint
(12-08-2009 07:40 AM)Dampire Wrote:  joint.create(ball,&ball2); ???
Big thx.
12-09-2009 02:30 PM
Find all posts by this user Quote this message in a reply
Post Reply