sketchucation logo sketchucation
    • Login
    1. Home
    2. Rider
    3. Posts
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    R
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 15
    • Posts 33
    • Groups 1

    Posts

    Recent Best Controversial
    • Toucher.name=?

      hi
      i want to know how do i name a toucher in the script "ontouch{|toucher|$curEvalGroup.name="rider"}
      suppose the toucher name is bullet and it touches the object with the script, it gets the name rider.This happens only when "bullet" touches the object with the script

      PLEASE help me!!

      posted in SketchyPhysics
      R
      Rider
    • RE: Sketchyphysics health variable

      That worked but this worked better:
      in the onTick box of the player
      "if
      frame<1
      then
      setVar("Health",2)
      end
      getVar("Health")
      if
      getVar("Health")==2
      then
      Sketchup.active_model.entities[0].text="Health=2"
      end
      if
      getVar("Health")==1
      then
      Sketchup.active_model.entities[0].text="Health=1"
      end
      if
      getVar("Health")==0
      then
      Sketchup.active_model.entities[0].text="Mission Failed!"
      end"
      And in the scripted box of the player
      "ontouch{|toucher|setVar("Health",getVar("Health")-1)}"
      the health gets reduced when anything touches the player.
      And this is my problem !
      i want it to be reduced only when an object named "bullet" touches it.
      please tell me if you know how to sort it out

      posted in SketchyPhysics
      R
      Rider
    • RE: Sketchyphysics health variable

      but what??
      please tell me if you know .

      posted in SketchyPhysics
      R
      Rider
    • Multiple values to variables in sp

      hi
      i want to know how to assign different values to variables on different touches.
      (Eg):If box A touches box B then a variable,say "Rider" is given value of 1.
      When box A touches box B the second time,"Rider" is set to value 2 and so on till the final value,say 10 is reached(i.e till box B is touched 10 times and till "Rider"==10)
      please tell me if anyone knows . πŸŽ‰

      posted in SketchyPhysics
      R
      Rider
    • Multiple value to variable in sketchyphysics

      can anyone tell me how to set different values to variables on multiple touches?
      (Eg):Box A touches Box B, then a variable ,say 'Rider' is set to 1.When Box A touches Box B second time,'Rider' is set to 2 and so on till the final value is reached.

      posted in SketchyPhysics
      R
      Rider
    • RE: View hidden geometry in sp

      Thankyou so much!!!!
      it really worked !
      thanks a lot

      posted in SketchyPhysics
      R
      Rider
    • RE: View hidden geometry in sp

      this is the file.I downloaded it from 3D Warehouse.Try makinga joint in he model anywhere.It shall disappear automatically.And you can't get it back!I have tried every way i know (like Edit-Unhide-All,View-Hidden Geometry,etc.).But nothing works!!! ❗ ❓
      This model is by Mr. K. It's name is "delta squad,improved".
      Not only this!All other physics - containing - models which i have downloaded from the warehouse have the same problem! ❗


      delta_squad.skp

      posted in SketchyPhysics
      R
      Rider
    • Data lost in sketchyphysics

      data is lost in import files (sketchyphysics).
      when i import a file, then joint names,emitter and thruster settings,etc. are lost!
      Why does this happen and how can i stop it?? 😐

      posted in SketchyPhysics
      R
      Rider
    • RE: Group Axis moving... Want Constant Axis.

      i also had the same problems at times.I would advice you to change their axis from Edit Group option and see what happens.Well i never found a solution to my problem.

      posted in Newbie Forum
      R
      Rider
    • RE: View hidden geometry in sp

      Thanks but it dosen't work!
      All the joints i the model are hidden and when i make new joints, they too hide automatically!! πŸ˜•

      posted in SketchyPhysics
      R
      Rider
    • RE: View hidden geometry in sp

      Thanks for help.

      posted in SketchyPhysics
      R
      Rider
    • View hidden geometry in sp

      how do we see the geometry that is hidden(like joints,etc.) in models downloaded fron
      3D Warehouse?

      posted in SketchyPhysics
      R
      Rider
    • Sketchyphysics health variable

      i am new to sp and i want to know the method\script to make a health variable(like in real games)
      for a 1st person shooter which gets reduced only when an emitter object(bullet most probably) touches the shooter.
      PLEASE HELP ME!!!

      posted in SketchyPhysics
      R
      Rider
    • 1
    • 2
    • 2 / 2