How do I set properties of joints after creation?

Just started using Construct 2? Post your questions here

Post » Sat Jan 09, 2016 10:59 pm

Hi there,

i am currently evaluating construct2 and trying to prototype a minimal version of what i want to achieve.
Particularly i want to create articulated physics by dynamically setting a "limited revolute joint"'s angles
to values based of mouse values. I can't find a way to set parameters of joints "on every tick" or alike.

Any pointers would be greatly appreciated.

Cheers,
Thorsten
B
3
Posts: 2
Reputation: 179

Post » Mon Jan 11, 2016 4:22 pm

@instinctvfx is this what you are looking for?
revolute-joint-example_t76813
B
58
S
19
G
3
Posts: 446
Reputation: 6,302

Post » Mon Jan 11, 2016 9:40 pm

Thanks jook00, but i don't think so. The samples seem to have a simple revolute joint and apply force/torque for rotation. I want to use a limited joint and change the upper/lower limit to a fixed identical angle to be able to control exact angles with the mouse (or other input devices).

Cheers,
Thorsten
B
3
Posts: 2
Reputation: 179

Post » Tue Jan 12, 2016 8:52 am

You'll have to destroy and re-create the joints.
B
94
S
33
G
114
Posts: 5,359
Reputation: 73,779


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest