Fill out PhysicsScript.

Also add support for AnimationHooks as needed.