Cast Sphere
tracked
WolfGang Senizen
The ability to perform a physics spherecast instead of just a raycast.
This is a very useful method to as it avoids needing multiple ray casts to check bounding boxe, that still end up less complete.
Could be implemented something like this
llCastSphere(vector start, vector end, float radius, list options);
Other cast shapes would be nice, but might be costly and complex, cast sphere is generally cheaper and simple afaik.
So a more comprehensive and expandable version might be
llCastShape(<0,0,0>, <10,10,10>, [CS_SHAPE_TYPYE, CS_SHAPE_TPYE_SPHERE, CS_SHAPE_SIZE, <1.0,1.0,1.0>]);
If the latter aproach was taken more shape types could be added later, so more complex but maybe more future proof.
Log In
Nexii Malthus
Havok Physics esp. supports Capsule shapes which are a classic physics primitive so I'd like to see that shape type as well
Bleuhazenfurfle Resident
llCastSphere sounds great…!
For llCastShape, you can probably just reuse the existing prim types…
And any interesting shape (especially donut casting!) could probably do with a rotation parameter, too.
Spidey Linden
tracked
Issue tracked. We have no estimate when it may be implemented. Please see future updates here.
Lucia Nightfire
Maybe also box cast, too? UN/UR have both.
WolfGang Senizen
Lucia Nightfire
Yeh that's kind of why I prefer my
llCastShape
suggestion. Shapes can be added later if deemed feasable.Though maybe it should be
CastVolume
?