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
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
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?
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!
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.
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!
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!
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!
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.....
_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!)