Help!!
20 posts • Page 1 of 1
Help!!
- Code: Select all
(e)=>{velocity = [x = 0, y = 40](m) / s}
1.
Does this have any chance of working; am i doing it wrong?
2.
Is here a way to change velocity?
3.
If so, how?
Thymer... Sorta :/
Like my avatar? Google it: gif it's pretty cool, just get the original sorce and put it for the URL of a pic like this:
http://www.imitationpickles.org/galcon/ ... /zarah.gif
neeed more help? Pm me :^)
My site/forum:
http://way2crazy.iforums.us/
^a ninja was here
Like my avatar? Google it: gif it's pretty cool, just get the original sorce and put it for the URL of a pic like this:
http://www.imitationpickles.org/galcon/ ... /zarah.gif
neeed more help? Pm me :^)
My site/forum:
http://way2crazy.iforums.us/
^a ninja was here
-
Way2crazy - Posts: 20
- Joined: Mon Sep 21, 2009 4:38 am
Re: Help!!
You can't change the velocity of a preexisting object. You can spawn an object with a preexisting velocity. Velocity is a list with an x and y axis. [x, y] Velocity in a spawned object is:
- Code: Select all
vel := [x, y]
-
standardtoaster - Posts: 606
- Joined: Mon Aug 31, 2009 7:57 pm
Re: Help!!
humm that was quick, tks
Thymer... Sorta :/
Like my avatar? Google it: gif it's pretty cool, just get the original sorce and put it for the URL of a pic like this:
http://www.imitationpickles.org/galcon/ ... /zarah.gif
neeed more help? Pm me :^)
My site/forum:
http://way2crazy.iforums.us/
^a ninja was here
Like my avatar? Google it: gif it's pretty cool, just get the original sorce and put it for the URL of a pic like this:
http://www.imitationpickles.org/galcon/ ... /zarah.gif
neeed more help? Pm me :^)
My site/forum:
http://way2crazy.iforums.us/
^a ninja was here
-
Way2crazy - Posts: 20
- Joined: Mon Sep 21, 2009 4:38 am
Re: Help!!
Well, while still on this topic, I know
- Code: Select all
e.other.liquify
Thymer... Sorta :/
Like my avatar? Google it: gif it's pretty cool, just get the original sorce and put it for the URL of a pic like this:
http://www.imitationpickles.org/galcon/ ... /zarah.gif
neeed more help? Pm me :^)
My site/forum:
http://way2crazy.iforums.us/
^a ninja was here
Like my avatar? Google it: gif it's pretty cool, just get the original sorce and put it for the URL of a pic like this:
http://www.imitationpickles.org/galcon/ ... /zarah.gif
neeed more help? Pm me :^)
My site/forum:
http://way2crazy.iforums.us/
^a ninja was here
-
Way2crazy - Posts: 20
- Joined: Mon Sep 21, 2009 4:38 am
Re: Help!!
You cannot make a liquid into a solid through thyme.
-
standardtoaster - Posts: 606
- Joined: Mon Aug 31, 2009 7:57 pm
Re: Help!!
You can only make a single partial into a solid.
-
Mystery - Posts: 2802
- Joined: Thu Sep 03, 2009 1:16 pm
- Location: Southern Australia
Re: Help!!
Ok, how do you determin if it is a circle, polygon, rectangle.. Can you give me a code?
Thymer... Sorta :/
Like my avatar? Google it: gif it's pretty cool, just get the original sorce and put it for the URL of a pic like this:
http://www.imitationpickles.org/galcon/ ... /zarah.gif
neeed more help? Pm me :^)
My site/forum:
http://way2crazy.iforums.us/
^a ninja was here
Like my avatar? Google it: gif it's pretty cool, just get the original sorce and put it for the URL of a pic like this:
http://www.imitationpickles.org/galcon/ ... /zarah.gif
neeed more help? Pm me :^)
My site/forum:
http://way2crazy.iforums.us/
^a ninja was here
-
Way2crazy - Posts: 20
- Joined: Mon Sep 21, 2009 4:38 am
Re: Help!!
you can make an object into a string by adding an empty text to it:
This will only liquify circles.
- Code: Select all
(e) => {e.other+""=="circle"?e.other.liquify:e.other.color = [0,0,0,1]}
This will only liquify circles.
Link: "Surely somebody hates Walter Cronkite.."
Sonic: "Probably.. But somebody hates everyone."
Sonic: "Probably.. But somebody hates everyone."
-
link0007 - Posts: 408
- Joined: Thu Jun 11, 2009 2:45 pm
Re: Help!!
thank you
Thymer... Sorta :/
Like my avatar? Google it: gif it's pretty cool, just get the original sorce and put it for the URL of a pic like this:
http://www.imitationpickles.org/galcon/ ... /zarah.gif
neeed more help? Pm me :^)
My site/forum:
http://way2crazy.iforums.us/
^a ninja was here
Like my avatar? Google it: gif it's pretty cool, just get the original sorce and put it for the URL of a pic like this:
http://www.imitationpickles.org/galcon/ ... /zarah.gif
neeed more help? Pm me :^)
My site/forum:
http://way2crazy.iforums.us/
^a ninja was here
-
Way2crazy - Posts: 20
- Joined: Mon Sep 21, 2009 4:38 am
Re: Help!!
How do you change the speed of a hinge with thyme? I know about custome variables but do you have to use oncolide and hit the hinge?
Thymer... Sorta :/
Like my avatar? Google it: gif it's pretty cool, just get the original sorce and put it for the URL of a pic like this:
http://www.imitationpickles.org/galcon/ ... /zarah.gif
neeed more help? Pm me :^)
My site/forum:
http://way2crazy.iforums.us/
^a ninja was here
Like my avatar? Google it: gif it's pretty cool, just get the original sorce and put it for the URL of a pic like this:
http://www.imitationpickles.org/galcon/ ... /zarah.gif
neeed more help? Pm me :^)
My site/forum:
http://way2crazy.iforums.us/
^a ninja was here
-
Way2crazy - Posts: 20
- Joined: Mon Sep 21, 2009 4:38 am
Re: Help!!
Make a variable.
In the onCollide of an object put:
In the MotorSpeed section of the script menu on the hinge put:
How's that?
- Code: Select all
scene.my.speed = 0
In the onCollide of an object put:
- Code: Select all
scene.my.speed = scene.my.speed + 1
In the MotorSpeed section of the script menu on the hinge put:
- Code: Select all
{scene.my.speed}
How's that?
-
standardtoaster - Posts: 606
- Joined: Mon Aug 31, 2009 7:57 pm
Re: Help!!
Ah! :^) I can't thank you enough
Thymer... Sorta :/
Like my avatar? Google it: gif it's pretty cool, just get the original sorce and put it for the URL of a pic like this:
http://www.imitationpickles.org/galcon/ ... /zarah.gif
neeed more help? Pm me :^)
My site/forum:
http://way2crazy.iforums.us/
^a ninja was here
Like my avatar? Google it: gif it's pretty cool, just get the original sorce and put it for the URL of a pic like this:
http://www.imitationpickles.org/galcon/ ... /zarah.gif
neeed more help? Pm me :^)
My site/forum:
http://way2crazy.iforums.us/
^a ninja was here
-
Way2crazy - Posts: 20
- Joined: Mon Sep 21, 2009 4:38 am
Re: Help!!
what are you planning to create? or are you just expanding your knowledge for the knowledge?
**/\ /\
>( ' ; ' )<***<---------- cat
*((")("))
i'm right-side-up
uʍop-ǝpısdn ɯ,ı
http://www.sherv.net/flip.html
>( ' ; ' )<***<---------- cat
*((")("))
i'm right-side-up
uʍop-ǝpısdn ɯ,ı
http://www.sherv.net/flip.html
-
algadoodle123 - Posts: 66
- Joined: Tue Sep 08, 2009 6:04 pm
Re: Help!!
im expanding my knowledge for maby future things
Thymer... Sorta :/
Like my avatar? Google it: gif it's pretty cool, just get the original sorce and put it for the URL of a pic like this:
http://www.imitationpickles.org/galcon/ ... /zarah.gif
neeed more help? Pm me :^)
My site/forum:
http://way2crazy.iforums.us/
^a ninja was here
Like my avatar? Google it: gif it's pretty cool, just get the original sorce and put it for the URL of a pic like this:
http://www.imitationpickles.org/galcon/ ... /zarah.gif
neeed more help? Pm me :^)
My site/forum:
http://way2crazy.iforums.us/
^a ninja was here
-
Way2crazy - Posts: 20
- Joined: Mon Sep 21, 2009 4:38 am
Re: Help!!
Ok, :^) last few questions:
Can you make an on colide an when the on colide happens, you follow an object?
Can you make a "count down" timer do anything when say( it goes from 10 sec. To 0) do anything when it reaches 0?
And lastly, can you "on colide" something and delete something further away from the colision?
Can you make an on colide an when the on colide happens, you follow an object?
Can you make a "count down" timer do anything when say( it goes from 10 sec. To 0) do anything when it reaches 0?
And lastly, can you "on colide" something and delete something further away from the colision?
Thymer... Sorta :/
Like my avatar? Google it: gif it's pretty cool, just get the original sorce and put it for the URL of a pic like this:
http://www.imitationpickles.org/galcon/ ... /zarah.gif
neeed more help? Pm me :^)
My site/forum:
http://way2crazy.iforums.us/
^a ninja was here
Like my avatar? Google it: gif it's pretty cool, just get the original sorce and put it for the URL of a pic like this:
http://www.imitationpickles.org/galcon/ ... /zarah.gif
neeed more help? Pm me :^)
My site/forum:
http://way2crazy.iforums.us/
^a ninja was here
-
Way2crazy - Posts: 20
- Joined: Mon Sep 21, 2009 4:38 am
Re: Help!!
- Code: Select all
sim.time - e.this.controllerAcc >= 10 ? {do what you want} : {}
//make sure the controller accelerator of the object is set to 0
- Code: Select all
sim.time - e.this.controllerAcc >= 10 ? {do what you want; e.this.controllerAcc = sim.time} : {}
To execute those scripts you need to use a beacon.
- Code: Select all
scene.my.density = 2
In the density part of the script menu on the far away object put:
- Code: Select all
{scene.my.density}
In the onCollide of an object put:
- Code: Select all
scene.my.density = 0
This will work well if you are using Algodoo. If you are using phun for this it will probably crash. Phun can't handle zero density very well.
In order to follow the object through onCollide you will need to know the objects entityID you can do that through the new method.
- Code: Select all
e.other.entityID := 1; scene.addGroup({name := "tracked" entityIDs := [e.other.entityID]})
I am sure that that script will work, but I'm not very keen on the "new method." If that script doesn't work then you can try this method:
- Code: Select all
scene.my.collideSet = 0
In the collideSet of the circle on the beacon put:
- Code: Select all
{scene.my.collideSet}
onCollide of an object:
- Code: Select all
scene.my.collideSet = 1
In the onCollide of the circle put:
- Code: Select all
scene.camera.pan = e.pos
Keep in mind that all of these scripts are from the top of my head.
-
standardtoaster - Posts: 606
- Joined: Mon Aug 31, 2009 7:57 pm
Re: Help!!
:^) pure brain power, you are a god
Thymer... Sorta :/
Like my avatar? Google it: gif it's pretty cool, just get the original sorce and put it for the URL of a pic like this:
http://www.imitationpickles.org/galcon/ ... /zarah.gif
neeed more help? Pm me :^)
My site/forum:
http://way2crazy.iforums.us/
^a ninja was here
Like my avatar? Google it: gif it's pretty cool, just get the original sorce and put it for the URL of a pic like this:
http://www.imitationpickles.org/galcon/ ... /zarah.gif
neeed more help? Pm me :^)
My site/forum:
http://way2crazy.iforums.us/
^a ninja was here
-
Way2crazy - Posts: 20
- Joined: Mon Sep 21, 2009 4:38 am
Re: Help!!
link0007 wrote:
- Code: Select all
(e) => {e.other+""=="circle"?e.other.liquify ; e.other.color = [0,0,0,1]}
Fix'd .
-
Dadasas - Posts: 46
- Joined: Tue Sep 01, 2009 2:03 am
Re: Help!!
That script doesn't work. Function call applied to Non-function
This one does.
- Code: Select all
e.other + "" == "circle" ? {e.other.liquify} : {e.other.color = [0, 0, 0, 1]}
This one does.
-
standardtoaster - Posts: 606
- Joined: Mon Aug 31, 2009 7:57 pm
20 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 5 guests