ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
  • IF formulae

    6
    0 Votes
    6 Posts
    701 Views
    H
    nvm, I've found a way around it by using ontouch
  • Failing Formulas?

    11
    0 Votes
    11 Posts
    927 Views
    C
    @unknownuser said: By the way, C.Phillips, mind explaning that script? I wouldn't mind figuring out how it works What's g? ...all I can get so far is that gas is 100, if gas is smaller than 0, then the motor stops, and when up is pressed, g is equal to gas, which is equal to one less than g, thus lowering the value by 1 each frame up is>0 (pressed). But can you just use a letter as a variable? It doesn' seem to work for me... Yes "g" is a temporary variable. It could have been "gas" or (almost) anything. I tested the code and it seems to work as expected. How does it not work for you?
  • Disappearing Objects

    6
    0 Votes
    6 Posts
    756 Views
    C
    Destroying something isnt the hard part. The hard part is getting it back again when the simulation resets. But I'll look into it.
  • Speed Indicator Problem Fixed

    2
    0 Votes
    2 Posts
    431 Views
    MALAISEM
    Interesting developpement, I like the way you manage flight parameters indicators have a look on this thread , could be useful :http://www.sketchucation.com/forums/scf/viewtopic.php?f=15&t=16632&p=131285&hilit=+dimension#p131227 MALAISE.
  • Formula and User Interface

    5
    0 Votes
    5 Posts
    630 Views
    MALAISEM
    Thanks Friends, for thoses hints. @ Pilou, I was led to such a solution MALAISE
  • Color Sensor

    5
    0 Votes
    5 Posts
    575 Views
    C
    @malaise said: Hi =Physicsguy= Color sensor's idea is very interesting. I had suggested a similar idea using a mechanical sensor (switch). The question is: how to read this sensor information and link it to drive motor, hinge.... ? MALAISE Mechanical sensors are now possible if you use an object with an onTouch field.
  • OnTick

    2
    0 Votes
    2 Posts
    460 Views
    C
    The code in the onTick field is executed every rate frames. If rate is 0 then every frame.
  • Explosion

    2
    0 Votes
    2 Posts
    466 Views
    B
    make all parts magnetic, put a non-collision static magnet with strength of 1000 or higher in the middle, press play.
  • Piston and slider are the same, but I think...

    11
    0 Votes
    11 Posts
    1k Views
    S
    @cphillips said: I just typed that off the top of my head and made a few errors. Here is a correct version: > pos=getVar("pos")+(key("up")*0.02)+(key("down")*-0.02);if(pos>1.0);pos=1.0;elsif(pos<0.0);pos=0.0;end;setVar("pos",pos);pos Thanks. that works. Ive just tried it in a servo and a motor aswell. Works on those too.
  • Scripting tip.

    2
    0 Votes
    2 Posts
    473 Views
    P
    Thanks
  • Designate center of gravity?

    4
    0 Votes
    4 Posts
    690 Views
    H
    please cast your minds back to this: http://sketchup.google.com/3dwarehouse/details?mid=a507050360e487cd6227cba038bf7c95&prevstart=0 i think this is what you are talking about, it's a bike that doesn't use any gyros or anything, but relies on an extremely low centre of gravity
  • Triggering Magnet?

    5
    0 Votes
    5 Posts
    808 Views
    P
    Magnetic Deflecting Armor
  • Physics Components

    3
    0 Votes
    3 Posts
    500 Views
    C
    Sorry, I never did get it to work right. I have another idea I want to try out soon.
  • Robotic car

    5
    0 Votes
    5 Posts
    649 Views
    S
    @unknownuser said: I'd been trying to do something similar, to keep something flying, but to no avail (yet) I might have a go at that. I have idea for how to do it
  • Funfair Game

    4
    0 Votes
    4 Posts
    721 Views
    C
    Not now but perhaps in a future version.
  • Sound Files

    7
    0 Votes
    7 Posts
    726 Views
    C
    If you did a playsound in onTick or onTouch and didnt set the rate to something a lot higher that 0 it might crash. If that wasnt it maybe it was a bad wav.
  • Sketchyphysics challenge

    6
    0 Votes
    6 Posts
    966 Views
    H
    we know you're not entering, why are you even posting here???
  • Gear tool won't work

    6
    0 Votes
    6 Posts
    550 Views
    S
    @cphillips said: Gears can be very finicky. Make sure you are clicking on the joint and not the object+joint group. Wheel and door work fine for me. Make sure you have a floor or some other object when you are trying to create something. They need an object to connect to. If that isn't the problem post a model and I will take a look. Thanks. Its working now.
  • Destructable Car

    2
    0 Votes
    2 Posts
    447 Views
    S
    compared to most its not great but it looks better than most other examples
  • Is Sketchyphysics Easy To Understand As A Newbie?

    14
    0 Votes
    14 Posts
    2k Views
    B
    I don't think SP is particularly hard to understand, but the fragmentation of the ad-hoc documentation is a stumbling block for most people.

Advertisement