verlet physics update

Blitz3D Forums/Blitz3D Programming/verlet physics update

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

How come this works in the test code:
DoVerlet(car.Vobject, accelerator)


when the function definition is this (I don't see any default values here):
Function DoVerlet(name.Vobject, verlet_element.VerletPack, GlobalForces.vector, rfox#, rfoy#, rfoz#, GlobalFriction#, rfrx#, rfry#, rfrz#)


I tried applying the code to a new VObject and keep getting too few parameters errors (even though I've included all of the globals).