How to calculate trigonometric values like sinus

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #95310
    vogliadicane
    Participant
      @vogliadicane
      Member

      I start getting a bit deeper into scripting and I didn’t find anythig about calculating sines in the commandreference.

      I guess it is sin(whatever), but is is Deg Rad or Gra? I’m pretty sure, this is a very basic question and all covered by the language VP scripting is based on, so some reference for those functions would be great.

      #95312
      rothbauerw
      Moderator
        @rothbauerw
        ModeratorContributorMembervip

        It’s radians.  I use a vbscript reference.

        You’ll find good examples of these functions in safe cracker.

        Current Project: Perpetual updates of VPX physics.

        1 user thanked author for this post.
        #95431
        vogliadicane
        Participant
          @vogliadicane
          Member

          Thanks roth, that helps a lot. I’ll also look into safe cracker.

        Viewing 3 posts - 1 through 3 (of 3 total)

        Forums are currently locked.

        ©2024 VPinBall.com

        Log in with your credentials

        Forgot your details?