| Blockland Forums > Help |
| What does "radiusImpulse" do? |
| << < (2/4) > >> |
| Chrono:
Default player mass is 90. The force is approximately (not exact) force/mass. So setting the Z power to 900 moves them at about 9.7 (whatever velocity is measured in), and decreases as you get further from the brick. |
| Chrono:
Correction, the force is exact, just that I would litterally have to be inside the brick to get the exact number, but then I wouldn't move anywhere. |
| Niliscro:
--- Quote from: Chrono on September 27, 2009, 06:07:32 PM ---Default player mass is 90. The force is approximately (not exact) force/mass. So setting the Z power to 900 moves them at about 9.7 (whatever velocity is measured in), and decreases as you get further from the brick. --- End quote --- It appeared to be much more than 9.7 when I used 900. |
| Chrono:
--- Quote from: Niliscro on September 27, 2009, 06:09:18 PM ---It appeared to be much more than 9.7 when I used 900. --- End quote --- I did this: package loltest{function fxdtsbrick::radiusimpulse(%t,%r,%x,%z,%c){Parent::radiusimpulse(%t,%r,%x,%z,%c);talk(localclientconnection.player. getVelocity());}}; activatePackage(loltest); in the console. I set the x/y force to 0, and the z force to 900. It gave me 0 0 9.7962 when standing ontop of it and clicking it. |
| Niliscro:
--- Quote from: Chrono on September 27, 2009, 06:11:05 PM ---I did this: package loltest{function fxdtsbrick::radiusimpulse(%t,%r,%x,%z,%c){Parent::radiusimpulse(%t,%r,%x,%z,%c);talk(localclientconnection.player. getVelocity());}}; activatePackage(loltest); in the console. I set the x/y force to 0, and the z force to 900. It gave me 0 0 9.7962 when standing ontop of it and clicking it. --- End quote --- Try it with setVelocity and see how much it takes to get 9.7. Something tells me that if you put 9.7 into one of the setVelocity parameters, it wouldn't fling you as far as if you put 900 into radiusImpulse. I don't think the results are relative to the velocity used in certain events like add/setVelocity. |
| Navigation |
| Message Index |
| Next page |
| Previous page |