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

Views: 248

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: 2695
Comments: 7
Ratings: 2
Date added: 2020/12/20 12:16:48
Made with: Algodoo v2.1.0
Rating: rated 5.6
download
Title: Vintage Vehicles
Rating: 5
Filesize: 3.89 MB
Downloads: 1181
Comments: 0
Ratings: 1
Date added: 2020/09/20 08:31:16
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Garbage citybus van and construction vehicles
Rating: 5
Filesize: 422.46 kB
Downloads: 1087
Comments: 0
Ratings: 1
Date added: 2019/10/18 04:54:24
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: My TaNk
Rating: 5
Filesize: 69.43 kB
Downloads: 522
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: 904
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: 2828
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?