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 (850,000+ downloads!)

ZOMBIE BASH (Android) (Launched Feb 17)

ZOMBIE BASH (iOS) (Launched March 17)
B
45
S
15
G
2
Posts: 425
Reputation: 5,035

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
85
S
27
G
85
Posts: 5,070
Reputation: 57,874


Return to Beginner's Questions

Who is online

Users browsing this forum: alextro and 3 guests