Browse Search Popular Register Upload Rules User list Login:
Search:
scene.moveWorld(x, y); , the savior for all vehicles

Image:
screenshot of the scene

Author: UnityDogGaming04

Group: Default

Filesize: 10.75 kB

Date added: 2021-04-13

Rating: 5

Downloads: 1124

Views: 240

Comments: 1

Ratings: 1

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

scene.moveWorld(x, y) translates every object by (x, y).
By placing scene.moveWorld(-pos) into any moving geometry, it allows said geometry to always be at the center of the world, [0, 0].
This entirely fixes the problem of bit precision error at long distances, by making the center of the world right on top of potentially intricate components that don't work past no-man's land!
It's surprising there is little documentation on this particular saint of a function, because it's almost too good to be true!

thamks bai x 461
Last edited at 2021/04/13 04:22:54 by UnityDogGaming04
Please log in to rate this scene
edit
Similar scenes
Title: halo vehicles (manned and unmanned)
Rating: 4.75
Filesize: 161.75 kB
Downloads: 1184
Comments: 0
Ratings: 2
Date added: 2009/06/25 06:26:30
Made with: Phun
Rating: rated 4.8
download
Title: Vintage Vehicles
Rating: 5
Filesize: 3.89 MB
Downloads: 1161
Comments: 0
Ratings: 1
Date added: 2020/09/20 08:31:16
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Step road
Rating: 5
Filesize: 1.66 MB
Downloads: 406
Comments: 0
Ratings: 1
Date added: 2020/06/11 13:28:59
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: My TaNk
Rating: 5
Filesize: 69.43 kB
Downloads: 512
Comments: 0
Ratings: 1
Date added: 2009/06/13 21:48:10
Made with: Phun
Rating: rated 5
download
Title: Car Hauler
Rating: 5
Filesize: 164.13 kB
Downloads: 893
Comments: 0
Ratings: 1
Date added: 2015/05/17 21:49:34
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Click army V0.1
Rating: 5
Filesize: 37.3 kB
Downloads: 2821
Comments: 2
Ratings: 1
Date added: 2018/06/21 23:51:43
Made with: Algodoo v2.1.0
Rating: rated 5
download
I see what it does, but why do you need this?