Browse Search Popular Register Upload Rules User list Login:
Search:
cool. if you let them spawn with 0 velocity it will be pushed to the ground stronger. if you turn velocity 180° it's even stronger.
it's a good idea to take the random number from algodoo. i once made a function for a random number using math.mod
btw the random color in algodoo is not truly random. it uses an algorithm to simulate randomness and so does every computer program. if you know the algorithm you can predict the "random" numbers.
Last edited at 2009/12/10 19:20:04 by KarateBrot
Why do you always use 6 collision layers?
it's just a projectile that's repelled by two objects. it's like a normal gun. a railgun is a bit different.
if the segway stops on the horizontal axis it gets deleted
yeah oncollide is faster than a laser in most cases but in some cases the laser can be more than twice as fast ;)
Last edited at 2009/12/12 18:23:10 by KarateBrot
hmm but if you have something with more than one collision layer you can't use it. 2 collision layers are enough by the way:D
@jogurcikPL
but for gps you need at least 3 satellites
nice. that's what i always had in my mind to steer the rocket so that it doesn't just point at it and misses it :tup:
@davidz
in principle it's the same like ra2lover's method but your idea is more of a numerical calculation
btw: timeX and timeY will be the same
Last edited at 2009/12/17 04:42:12 by KarateBrot
then i didn't get what you explained first. i thought you mean to fly directly to the target. because then timeX and timeY would be the same.
but now that you additionally added some information it makes sense.
Last edited at 2009/12/18 00:09:02 by KarateBrot
@gargamel4o
it detects how the position of the mouse is changing every time step and then the angle of the position change is calculated. then for angles bigger than 315° or smaller than 45° it displays "right", for smaller than 135° it displays "up", etc...
why making a complicated scene when we can adjust sim.frequency within a second in the console?
instead of

vel := [10 * scene.my.angle2(0), 10 * scene.my.angle2(1)]

just use

vel := 10*scene.my.angle2

it slims down the code and you can keep track of the whole scripting code a lot better.
And watch out for atan. it can't give you all angles. but because a box is symmetric it is okay in this case.;)
@sunnyman
bombs attached to a comanche???:huh:
The "important" message is dangerous. if you adjust the frequency and don't set it back to 100Hz every simulation you play back will be wrong or in the worst case won't work just btw.
negatve airfrictionmult is nothing special. it's already known for a long time.
it's not just used in computer games. havok also made the popular physics engine "reactor" for 3ds max and much more things
thanks. normally it isn't possible with any other variables but because the functions in the console and app.mousepos are updating all the time it's possible.
you didn't understand RA2lover. he wasn't talking about changing the monitor's refreshing rate.
he said: although you change algodoo's frequency the frequency of the lasers won't change which is the refreshing rate of your monitor.
it's infinite fuel but you must not move to spawn fuel. if you're already moving it's just a finite amount you can use. spawn fuel with object's velocity.
that's funny:lol:
i like it
i like the idea of using flaps. it's really cool. but on the other hand the wiggle doesn't look very good. but i know it's a lot of additional work to turn it off.
but i like it. i'm working on a formula to take acceleration into account, too. just now i wanted to test it with RA2lovers rocket. i already made a formula just with velocity and with it the rocket is more precise. let's see if it works. if it's going to work it has got a precision of nearly 100% at any motion of the target and you can turn gravity as high as you want to. wish me luck:lol:
yeah of course thruster force has to be greater than gravitational force. i appreciate this.
btw. the formula works. now i can make it even more precise if i take jerk into account.
yeah that's it^^
and why do you say "phun only"? it's working in algodoo, too of course.
veeery nice.
maybe this is a solution. i uploaded the scene here:
http://www.file-upload.ne … o.phz.html

the laser gets activated remote-controlled and after one hit it deactivates itself which results in one q per key press.
but if you want to make more keys it's better to do it directly via onCollide because you don't need custom variables for the remote-control again and again.
Last edited at 2009/12/29 11:43:38 by KarateBrot
the scene looks beautiful. but the truck is very unrealistic and weird to drive. improve it and it's awesome.
spawning the circles with e.normal as velocity doesn't work very well because they only have got a speed of 1m/s no matter how fast your rocket is. e.normal is a unit vector. it only can give you the direction of your needed speed but nothing more.
previous | 1 … 5 6 7 8 9 10 | next