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
Check out my games on Google Play:
BEAST ATTACK (1,000,000+ downloads!)
ZOMBIE BASH (Android) (Launched Feb 17)
ZOMBIE BASH (iOS) (Launched March 17)
B
54
S
18
G
2
Posts: 436
Reputation: 5,582

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
92
S
32
G
107
Posts: 5,274
Reputation: 69,959


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests