returning projectiles

About advanced scenes, and the Thyme scripting language used in Algodoo.

returning projectiles

Postby bram961 » Mon Nov 02, 2009 5:25 pm

can u let bullets return in the same direction they came (not restitution they will bounce of difrent)
like * [ before * [after (and not like restitution * [before [ after)
[ [ ( [ *[ )

like a script like e.other.velocity = x-1 but that doesnt works so what do i do????
Image Image Image plz click them to hatch
bram961
 
Posts: 2
Joined: Mon Nov 02, 2009 5:09 pm

Re: returning projectiles

Postby Fujitsu » Mon Nov 02, 2009 5:35 pm

In Algodoo it is impossible to find or alter an object's velocity through scripting.
Image
Gimmie money.
User avatar
Fujitsu
 
Posts: 328
Joined: Tue Sep 01, 2009 12:28 am
Location: Canada

Re: returning projectiles

Postby Frank » Mon Nov 02, 2009 5:41 pm

A long time back I made such a weapon without scripting. It had one bullet on a spring.
Made some cool stuff a long time ago
User avatar
Frank
[Best Tutorial Maker 2010]
 
Posts: 193
Joined: Mon Aug 31, 2009 6:37 pm
Location: the dark side of the moon

Re: returning projectiles

Postby RA2lover » Tue Nov 03, 2009 2:15 am

it's possible to script something like that. hovewer you'll need a bailistical computer per each spawned object....
Jrv wrote:
TC42 wrote:Quite honestly, I didn't think anyone on 4chan has that good a use of grammar, spelling, usage, mechanics, ect.
But I've never been there, so I may be wrong.


GTFO newfgt
User avatar
RA2lover
 
Posts: 607
Joined: Mon Aug 31, 2009 8:43 pm
Location: Brazil

Re: returning projectiles

Postby Mystery » Tue Nov 03, 2009 12:56 pm

IF you want it to return once it hits something it is in fact very easy by putting the ballistic computer codes into the object itself deleting its self and spawning an identical ball going in the opposite direction. I can make the codes if you need it.
User avatar
Mystery
 
Posts: 2802
Joined: Thu Sep 03, 2009 1:16 pm
Location: Southern Australia


Return to Thyme scripting

Who is online

Users browsing this forum: No registered users and 16 guests