Browse Search Popular Register Upload Rules User list Login:
Search:
Gravity Swap Arrows

Image:
screenshot of the scene

Author: alasmyfoe

Group: Default

Filesize: 13.03 kB

Date added: 2017-05-07

Rating: 5

Downloads: 396

Views: 280

Comments: 1

Ratings: 1

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

:D
Please log in to rate this scene
edit
Similar scenes
Title: Gravity swap rube goldburg
Rating: 5
Filesize: 41.89 kB
Downloads: 665
Comments: 3
Ratings: 1
Date added: 2015/11/21 02:23:46
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Gravity Switchin
Rating: 5.625
Filesize: 5.69 kB
Downloads: 681
Comments: 0
Ratings: 2
Date added: 2013/12/12 02:51:16
Made with: Algodoo v2.1.0
Rating: rated 5.6
download
Title: gravity donut
Rating: 5
Filesize: 22.66 kB
Downloads: 148
Comments: 0
Ratings: 1
Date added: 2016/01/05 07:25:13
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Insane helicopter (Read the description)
Rating: 5
Filesize: 36.77 kB
Downloads: 519
Comments: 0
Ratings: 1
Date added: 2011/06/26 18:42:19
Made with: Algodoo before v1.8.5
Rating: rated 5
download
Title: Swap! Playground
Rating: 6.1111
Filesize: 172.18 kB
Downloads: 2722
Comments: 1
Ratings: 3
Date added: 2025/04/20 04:31:32
Made with: Algodoo v2.2.3
Rating: rated 6.1
download
Title: [UNFINISHED GAME] Swap
Rating: 5.25
Filesize: 63.43 kB
Downloads: 1051
Comments: 4
Ratings: 2
Date added: 2023/11/03 04:45:01
Made with: Algodoo v2.1.0
Rating: rated 5.3
download
You shouldnt use sim.gravity to change objects gravity direction. Instead, change their poststep to apply artificial accelleration to them (I am using eval for inserting values):
eval("
e.other.poststep = (e)=>{
vel = vel + [0,sim.gravitystrength]/sim.frequency + [Math.cos("+GRAVITYANGLE+"),Math.sin("+GRAVITYANGLE+")]*sim.gravitystrength/sim.frequency
}
")
Replace Gravityangle as the angle of the box with the arrow(you may need to adjust it afterwards) and there you go. every object that collides with the box will have its poststep overwritten to fall in that specific direction until it collides again.