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: 1128

Views: 243

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: Simple Vehicles Assets V2
Rating: 5.625
Filesize: 0.93 MB
Downloads: 2681
Comments: 7
Ratings: 2
Date added: 2020/12/20 12:16:48
Made with: Algodoo v2.1.0
Rating: rated 5.6
download
Title: halo vehicles (manned and unmanned)
Rating: 4.75
Filesize: 161.75 kB
Downloads: 1187
Comments: 0
Ratings: 2
Date added: 2009/06/25 06:26:30
Made with: Phun
Rating: rated 4.8
download
Title: Garbage citybus van and construction vehicles
Rating: 5
Filesize: 422.46 kB
Downloads: 1079
Comments: 0
Ratings: 1
Date added: 2019/10/18 04:54:24
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Step road
Rating: 5
Filesize: 1.66 MB
Downloads: 409
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: 517
Comments: 0
Ratings: 1
Date added: 2009/06/13 21:48:10
Made with: Phun
Rating: rated 5
download
Title: My IED Landmine (Improvised Explosive Device)
Rating: 5
Filesize: 82.24 kB
Downloads: 636
Comments: 4
Ratings: 1
Date added: 2010/11/02 20:47:23
Made with: Phun
Rating: rated 5
download
I see what it does, but why do you need this?