Avoid shaking (Move Origo?)

If you have problems installing or running Algodoo, have found a bug or need in-game help - this is it!

Avoid shaking (Move Origo?)

Postby sPetersen » Mon May 09, 2016 2:17 pm

I have been noticing that when I displace objects too far from what we would call origo, geomes starts to "shake" also when sim isn't running.
I belivie this is because Algodoo starts to use fewer decimals for calculating the position of an object the further away an object move.

I this problem avoidable? Are you somehow able to move origo, or can you force it to use a fixed amount of decimals?
sPetersen
 
Posts: 10
Joined: Sun Apr 10, 2016 6:09 am

Re: Avoid shaking (Move Origo?)

Postby Kilinich » Tue May 10, 2016 1:39 pm

Use folowing console commands:

scene.moveWorld(x,y)
scene.moveToOrigo
Dream of Algodoo as game development engine...
User avatar
Kilinich
[Best bug reporter 2010]
 
Posts: 2098
Joined: Mon Aug 31, 2009 8:27 pm
Location: South Russia

Re: Avoid shaking (Move Origo?)

Postby sPetersen » Tue May 10, 2016 2:50 pm

Great! It's working wonders! :clap:
If you are following an object and remove clouds from background it does it 100% unnoticeable! :thumbup: But if you do not follow an object it does some kind of odd camera panning, but i guess that won't be a problem since you are probably following an object if you move that far anyway.

Thanks btw. You are the best!
sPetersen
 
Posts: 10
Joined: Sun Apr 10, 2016 6:09 am

Re: Avoid shaking (Move Origo?)

Postby Kilinich » Tue May 10, 2016 6:36 pm

I prefer make scenes work within 10km range, no problem with displacement :thumbup:
Dream of Algodoo as game development engine...
User avatar
Kilinich
[Best bug reporter 2010]
 
Posts: 2098
Joined: Mon Aug 31, 2009 8:27 pm
Location: South Russia


Return to Help / Bug reports

Who is online

Users browsing this forum: No registered users and 13 guests