|
Pygar Bu
Toy Maker
Join date: 19 Jul 2006
Posts: 65
|
03-08-2008 22:22
Hi! I'm trying to make a rolling prim vehicle. The avie would sit in a fixed position, so they'd end up rolling along with the prim. Ideally. Is there a script out there, or a modify for one of the existing vehicle scripts? Thanks for any help! Pygar
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
03-09-2008 05:01
you could either fake the momentum of the prim by animating the texture (might need to use a torus), or up it to 2 prims so the root keeps the av stable while the rest rotates
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
|
Bloodsong Termagant
Manic Artist
Join date: 22 Jan 2007
Posts: 615
|
03-10-2008 08:21
heyas;
ive seen rolling balls that you can sit in. but not sit in and *drive*. they're just physical and roll downhill.
you could try making the ball physical and using target omega to make it roll under its own power. dont ask me how to steer it, though. (ask void :X )
you could try making a non-rolling ball where the seat uses targetomega itself while it's moving, to roll the avatar around. plus the outer texture anim to make it appear to roll.
i would think you would have trouble creating a motor for something rolling/spinning, because im pretty sure the impulse power depends on the objects local axes facings.
oh, wait.... there's a rolling hamster ball in tiny inc in raglan shire, i think. i dont know how they did it though. you can look at it, and/or ask 'em.
::waves at pygar::
_____________________
Why Johnny Can't Rotate: http://forums.secondlife.com/showthread.php?t=94705
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
03-10-2008 08:46
From: Bloodsong Termagant you could try making the ball physical and using target omega to make it roll under its own power. dont ask me how to steer it, though. (ask void :X ) that's an evil chalenge =P it'd be physical so it'd use local axis, but it'd be rolling, so those axis would be under constant change already. the only way I could imagine that as a vehicle, should be to temprarily freeze it into a world relative position, and the target omega, or just change it's facing and use the original forward rotation.... the hamster ball sounds easier... climbin in, non vehicle physics, and then run in the direction you want to go... sure to be a lag monster, but amusing
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
|
Pygar Bu
Toy Maker
Join date: 19 Jul 2006
Posts: 65
|
thanks! 
03-15-2008 10:04
I've seen a hamster ball at Greenies Home too. And it is fun and not too too laggy  D :::waves at Bloodsong and Void and goes to give himself a headegg looking at target omegas on the wiki LOL:::
|
|
Ollj Oh
Registered User
Join date: 28 Aug 2007
Posts: 522
|
03-15-2008 22:27
I tried a 1 prim rolling ball vehicle, and failed, because:
- The ball must be large, or it will get stuck too easily (as in it needs too much force to roll around a small diameter). - The ball must be small, or it wont fit anywhere and get stuck (and need too much force top move its mass).
see, we already got a problem here, it cant be too small and cant be too large, and it needs multiple "gears"....
- The avatar, that sits on the only prim, always adds weight, momentum and its colision boxes to the prim (and he adds a lot momentum to a smaller sphere). Therefore the prim vehicle mut at least go over the whole avatar and the sit-target must be centric, but thats impossible for variable avatar height. - While the vehicle rolls around all 4 axes, its unnecessarily complicated to keep a local or global "forward" defined. - you need a VERY smart semi-static follow cam with the vehicle, or you can just forget about controlls. then the controlls can be relative to that cam. - controlling a rolling ball remotely is "tricky" to say at last. It just makes you sick, even in floating cam, and it just doesnt go where you want it too.
its MARBLE MADNESS. and trust me, you dont want that in sl.
|
|
Pygar Bu
Toy Maker
Join date: 19 Jul 2006
Posts: 65
|
03-16-2008 23:07
I think I'm going to have to go with (at least) two prims, as Void suggested. Marble Madness sounds like a lotta fun though!  DD :::rolling off to build::: Pygar
|