How do I attach am object to another object that moves

Get help using Construct 2

Post » Sat Jul 12, 2014 8:06 pm

How do I attach am object to another object that moves without it lagging behind.

I have the players body moving and the head attached to the top of the body at (every tick set position to body image point 1, set angle mouse.x mouse.y)

So the head also follows the mouse but the problem i have is when the body starts moving at speed the head doesn't keep up.

I also considered using physics with revolution joints but with the animated idle stance the physics don't seem to work for some reason.

can anybody help please?
B
8
S
2
Posts: 51
Reputation: 1,235

Post » Sat Jul 12, 2014 8:27 pm

You should do the first three tutorials from here (at least): https://www.scirra.com/tutorials/top

#3 explains the Pin behaviour.
ImageImageImage
B
71
S
22
G
258
Posts: 3,791
Reputation: 143,198

Post » Sat Jul 12, 2014 9:18 pm

thanks for the reply but that doesn't help im wondering if there is a way for the head to stay where its supposed if i pin the head it doesnt move with the breathing of the animation.
B
8
S
2
Posts: 51
Reputation: 1,235

Post » Sat Jul 12, 2014 9:22 pm

ImageImageImage
B
71
S
22
G
258
Posts: 3,791
Reputation: 143,198


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 9 guests