Browse Search Popular Register Upload Rules User list Login:
Search:
programed the springs before I twigged the size, couldnt be bothered to reprogram it!
just for the look of it, based on a drag car near me
just add a flywheel or increase the density of the circle and it produces a more regular output!
thanks for your support man! yeah i know whats with that?! it takes agaes to find the kind of scenes i like to look at!
didnt know you could do that! thanks iv not been useing algodoo long, ill look though forums for info!
oh yeah, your right! used 2 differnt scales! also just realised sin2x was way outa sinc!should be right now
thanks Xray, should be fixed now! really dont uderstand why it went weird though, it wasnt even an issue half the time!
i think i made the rider too small....
thanks guys! i tryied to improve it but it was so complicated i started again, check out the updated scene here: http://www.algodoo.com/algobox/details.php?id=153582
Last edited at 2017/03/09 00:29:32 by rorziz
yes i did, and the first model i made didnt have a density change, but when i was looking around and things similar i saw that most scenes on algobox seem to simulate pressure with a density change rather than andything else and the demos that i could find seemed to demostrae a better soft simulation wheen, although i proberly didnt need to add it in with the other changes that i made thinking about it now
OH! thanks for that man, i didnt realise they had to be difined in the geom it self!thats really helpfull!
still couldnt get it to work for some reson, i have changed it to a scene.my variable for now
Ah i see! I think maybe it was because i was doing save and share as one step! Or maybe i messed up the earlier bit as i don’t remember seeing the variable showing up in the scripting window! Anyhow, it all worked allot easier the second attempt! Thanks for your help and the offer, i think i got it now though! Is there a way to test a scene as it would be downloaded? Because obviously it all worked on my pc because it had them defined on my computer?
i ended up changing it slightly to reduce the number or variables as i realised i was using allot more than i needed!
good idea! thanks ill work on adding one in
made a new one with a ghost/ ai car, used your ghost car coding one it! http://www.algodoo.com/algobox/details.php?id=156426
as it sometimes goes on a bit longer than the graph has space for i will add a loop in for it in the future, should be revising right now though...... oh the things you find to do when you should be doing somthing important!
thanks man
ah thants a much cleaner way of doing it! didnt realise you could do that, thanks
yeah i was using theat but it was really laggy unfortunatly! thanks though
yeah but without asking or even linking to the scene, tbh i wouldn’t normally mind mind, but asking before you post someone else’s work up is standard practice and in the rules of use. what bothers me in this case , and it’s what danielreynard is pointing out, is that i spent a while coding this piece of work and you have copied and pasted the bike but not the code hence it doesn’t work properly making my bike look shoddy.
thanks man!
XRAY your right! how stupid! i have updated scene, i really hope i didnt get i wrong because i have done it on the return from thr pub many pints down, without a backup ha ha thanks for your advice, not just on this scene! very helpfull!
i have no memory of writing that or changing the scene.....
im not a kid,

i liked it,

you can judge me if you like ha ha

thats a good idea! i recon your right, it must have been a long onld job cutting them out!
i also like the idea of having it as a black scene (all of the parts to be colored in, colored in black) and when you click on the screen it slowly reveals the image!
ha ha yeah i edited it on return from the pub and so was very drunk, i have vuage memorys of it coming back now!
thanks Xray, yeah it was a photo of the double suspension gallop gait that poped up on google that made me look at what program it was made on and as such get algodoo!
Last edited at 2017/07/12 18:53:39 by rorziz
thanks, sure just uploaded one
simple reallly, made one leg, coppied it 100 times, using the onspawn function gave each moter an individual number from 1-100. giving each foot a differnt collision layer (obviously there are only 10 collision layers but i have spread them evenly so they dont collide) then using the bend function i got each motoer to turn to its individual nuber *pi/50 (as 2 pi in a circle that the same as 2*pi/100) then stacked all the legs ontop of eachother with the power wheels lined up with eachother, merged the circles that power them as i only needed one, not 100! hope that makes sence.....
if you want to try it, the code was:

_x := 1
on spawn (e)=> {_x=_x+1}
(i did this 10 times then changed the code to (e)=> {_x=_x+10} and coppied the 10 legs ten times to make 100 legs to make it a bit quicker)

then in the motor, set bend to true, bend constant to +inf, motor force to +inf, and bend target to {_x*math.pi/50)}

clear the on spawn function from all motors before you play the scene as every time you play the scene it spawns the objects and you will end up with the individual numbers compleatly wrong!

(this only gives you one side, ie front or back, but simply copy, mirror, and align!)
previous | 1 2 | next