How to make a rigid line with more than 3 particle?

7 views
Skip to first unread message

iiley Chen

unread,
Jul 23, 2009, 7:15:40 AM7/23/09
to APE General
Hi guys,

I'm trying to make a game with APE, now i have to make a rigid body
with more than 3 particle, you can assume i want to make a wand, and i
may give force to some point of this wand, so i need to create it with
particles and connected with constraints. But APE just provide
SpringConstraint, it is soft, make my wand just like a rope. Is there
some right way to achieve this?

Thanks in advance!!
/iiley

acortes

unread,
Sep 3, 2009, 11:06:05 PM9/3/09
to APE General
My problem seems to be easier than that! I cannot for the life of me
create a chain of multiple groups tied together with springs. At
first it works, but after a few, the weight seems to be so much that
the spring's length grows tremendously, even when the stiffness is set
to 1. What am I doing wrong? Should I be using something else
instead of springs?

Thanks!!

-ACC

Kris Meister

unread,
Oct 23, 2009, 12:37:22 PM10/23/09
to APE General
Make sure your particles are set fixed = true.

So if you have circle particles.
CircleParticle(x, y, radius, fixed, mass, elasticity, friction)
the 4th param should be true.
Reply all
Reply to author
Forward
0 new messages