function stabilize() 1.0

Demon666 - Custom level - from Windows
PlayEdit7 players liked this.Log in to like this level.

a function that emulates the stabilizer object

update 1.0
- multiple object support
- about 95% accurate
- various other tweaks

1st slider for x damping
2nd slider for y damping
3nd slider for rotation damping
F: hold to activate

Views: 846 Downloads: 237 Unique objects: 1 Total objects: 11

Discuss this level

Log in to comment on this level.
  • Demon666: @Chad64:
  • Chad64: how do you use table.insert and other table things?
  • Golden: @Demon666: oh
  • Demon666: @Golden: it already has angular stabilization. and it dosent really need linear that just causes problems.
  • Golden: @Demon666: now stabiloze your humanoid from junk
  • TechZ2124: Cool thing
  • JOELwindows7: Awesome like the real!, decrease used space!
  • Ctjet: @Demon666: alright thqnks
  • Demon666: @Ctjet: this function still needs some work. sometimes it launches the object in the opposite direction lol. the angular damping part is done by adding an inverse rotation to its current rotation speed. the linear part is more difficult it catches its previous linear and applies that back to its current linear velocity at a fixed interval.

LEVEL ID: 10352