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

Views: 254

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: Savior MC7
Rating: 6.5
Filesize: 55.91 kB
Downloads: 638
Comments: 2
Ratings: 4
Date added: 2011/03/25 02:37:43
Made with: Phun
Rating: rated 6.5
download
Title: Simple Vehicles Assets V2
Rating: 5.625
Filesize: 0.93 MB
Downloads: 2706
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: 1193
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: 1186
Comments: 0
Ratings: 1
Date added: 2020/09/20 08:31:16
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: My TaNk
Rating: 5
Filesize: 69.43 kB
Downloads: 525
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: 643
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?