Lag when setting oject position on another every tick

Get help using Construct 2

Post » Wed Apr 29, 2015 9:09 pm

Hello,

I have a character with a base and multiple parts. Some are pinned to the base or the one another, and some others have their position set every tick at image point cause the Pin behavior can't do this. The problem is that it creates a lag in the movement. Positions seems to not be moved at the same time. Is there any way to prevent this ?

Here's a capx for example. I commented the line where the part 2 is pinned to the part one, cause I'd like it to be set every tick at an image point. So every tick, the part 2 is set at part 1 position and angle.

https://www.dropbox.com/s/2nrkrxxxf9welm7/pinMoToPosition.capx?dl=0
B
14
S
4
Posts: 112
Reputation: 1,287

Post » Wed Apr 29, 2015 9:16 pm

B
67
S
24
G
7
Posts: 1,518
Reputation: 11,072

Post » Wed Apr 29, 2015 9:38 pm

Thanks for the reply. It works in the little example project but I still got the lag on my big projet. Do you think many events can make the lag when the positions are updated ?
B
14
S
4
Posts: 112
Reputation: 1,287


Return to How do I....?

Who is online

Users browsing this forum: R0J0hound and 15 guests