Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Static Physics Object moving problem?

Author
Message
nz0
AGK Developer
17
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 16th Oct 2011 02:56
I have an issue with static physics object which moves when I collide with many other objects.
It looks like a rounding issue (the movement is only a small jitter) but I'd like to check I've not made a mistake here before submitting it as a bug.

I even made the static object a very big mass, but doesn't help.

The same behaviour exist for different bounding polys on the sprite.

Attachments

Login to view attachments
Smashton
13
Years of Service
User Offline
Joined: 29th Sep 2011
Location:
Posted: 17th Oct 2011 09:30
It's a bug. You should report it to them.
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 17th Oct 2011 16:15
I've been experiencing the same issue. Definitely a bug I think...

Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 18th Oct 2011 02:42
This is a side effect of an attempt to reduce flicking in axis aligned sprites that are scrolling across the screen, it snaps the sprite to the nearest pixel. I'll add a command to turn this off per sprite as it is clearly interfering in other cases. For now you can force it off by giving the sprite a very slight angle, say 0.0001 which means it is no longer an axis aligned sprite and so won't be snapped to grid.
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 18th Oct 2011 10:44
Thanks for the workaround Paul!

nz0
AGK Developer
17
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 20th Oct 2011 05:52
Good news then. So no need to register as a bug?

Login to post a reply

Server time is: 2024-11-22 02:29:06
Your offset time is: 2024-11-22 02:29:06