Avoid shaking (Move Origo?)
4 posts • Page 1 of 1
Avoid shaking (Move Origo?)
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?
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?)
Use folowing console commands:
scene.moveWorld(x,y)
scene.moveToOrigo
scene.moveWorld(x,y)
scene.moveToOrigo
Dream of Algodoo as game development engine...
-
Kilinich - [Best bug reporter 2010]
- Posts: 2098
- Joined: Mon Aug 31, 2009 8:27 pm
- Location: South Russia
Re: Avoid shaking (Move Origo?)
Great! It's working wonders!
If you are following an object and remove clouds from background it does it 100% unnoticeable! 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!
If you are following an object and remove clouds from background it does it 100% unnoticeable! 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?)
I prefer make scenes work within 10km range, no problem with displacement
Dream of Algodoo as game development engine...
-
Kilinich - [Best bug reporter 2010]
- Posts: 2098
- Joined: Mon Aug 31, 2009 8:27 pm
- Location: South Russia
4 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 24 guests