Position Changing On Demand
5 posts • Page 1 of 1
Position Changing On Demand
Is it possible to change an object's position with scripting? I don't care about teleporting anything, so I don't mean "can you teleport, dur!?" I mean can you move a single object to a position that you put in. Kinda Like this:
I wanna know cause my new Fruitlizer stabilizer design uses a ball that's hinged to a bar that's fixated to another ball, records the top ball's position, and makes the bottom one's the exact same thing except a little lower. I already have a Fruitilizer that does kind of the same thing, but it doesn't work nearly as well as it could.
So, can and will anybody help me
?
- Code: Select all
OnCollide = (e)=>{pos := [ x, x]}
I wanna know cause my new Fruitlizer stabilizer design uses a ball that's hinged to a bar that's fixated to another ball, records the top ball's position, and makes the bottom one's the exact same thing except a little lower. I already have a Fruitilizer that does kind of the same thing, but it doesn't work nearly as well as it could.
So, can and will anybody help me

-

FruitMonger - Posts: 135
- Joined: Thu Dec 10, 2009 8:20 pm
- Location: Some fruit stand in Indiana
Re: Position Changing On Demand
No this isn't possible
It would be cool though.
-

Rideg - Posts: 948
- Joined: Tue Dec 15, 2009 5:17 pm
- Location: Östersund, Sweden
Re: Position Changing On Demand
CRAP CRAP CRAP! ...Well, at least I know that it really isn't possible. Thanks for helping, Rideg.

-

FruitMonger - Posts: 135
- Joined: Thu Dec 10, 2009 8:20 pm
- Location: Some fruit stand in Indiana
Re: Position Changing On Demand
You could Delete the object that should move to another pos as the same time you spawn it at another pos
-

Rideg - Posts: 948
- Joined: Tue Dec 15, 2009 5:17 pm
- Location: Östersund, Sweden
Re: Position Changing On Demand
That's pretty much what my current Fruitilizer does. Spawns a ball directly bellow another, destrys it by spawning it with a "density : 0" oncollide script, and spawns another. Over, and over, and over. I had an idea for my fruitilizer, but I'll have to think it over for a little while before I actually try it...

-

FruitMonger - Posts: 135
- Joined: Thu Dec 10, 2009 8:20 pm
- Location: Some fruit stand in Indiana
5 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 5 guests




