secondlife / jira-archive

2 stars 0 forks source link

[BUG-234589] PRIM_ALIGN_TO_VEL Prim parameter to automatically align prim with it's velocity along a given axis. #11489

Open sl-service-account opened 10 months ago

sl-service-account commented 10 months ago

How would you like the feature to work?

A prim parameter that makes the sim (or the client if thats all we can get) keep a prim aligned with its velocity.

I would hope to have something like


llRezObjectWithParams( "projectile", [
    REZ_POS, position,
    REZ_ROT, rotation,
    REZ_VEL, vel,
    REZ_FLAGS, REZ_FLAG_TEMP | REZ_FLAG_PHYSICAL | REZ_FLAG_DIE_ON_COLLIDE | REZ_FLAG_DIE_ON_NOENTRY | REZ_FLAG_BLOCK_GRAB_OBJECT
    REZ_ALIGN_TO_VEL, llEuler2Rot(<1,0,0>)
] );

would keep the prim aligned pointing forwards for the furation of its flight.

It'd be great to also have this for llSetLinkPrimitiveParams as a general prim parameter

Why is this feature important to you? How would it benefit the community?

This would work great with the new RezWithParams feature. Allowing projectiles to arc nicely without requiring a script to be inside of them.

Original Jira Fields | Field | Value | | ------------- | ------------- | | Issue | BUG-234589 | | Summary | PRIM_ALIGN_TO_VEL Prim parameter to automatically align prim with it's velocity along a given axis. | | Type | New Feature Request | | Priority | Unset | | Status | Accepted | | Resolution | Accepted | | Reporter | WolfGang Senizen (wolfgang.senizen) | | Created at | 2023-10-24T19:32:54Z | | Updated at | 2023-10-25T18:19:04Z | ``` { 'Build Id': 'unset', 'Business Unit': ['Platform'], 'Date of First Response': '2023-10-24T15:14:02.332-0500', 'How would you like the feature to work?': 'A prim parameter that makes the sim (or the client if thats all we can get) keep a prim aligned with its velocity.\r\n\r\nI would hope to have something like\r\n\r\n```\r\nllRezObjectWithParams( "projectile", [\r\n REZ_POS, position,\r\n REZ_ROT, rotation,\r\n REZ_VEL, vel,\r\n REZ_FLAGS, REZ_FLAG_TEMP | REZ_FLAG_PHYSICAL | REZ_FLAG_DIE_ON_COLLIDE | REZ_FLAG_DIE_ON_NOENTRY | REZ_FLAG_BLOCK_GRAB_OBJECT\r\n REZ_ALIGN_TO_VEL, llEuler2Rot(<1,0,0>)\r\n] );\r\n```\r\n\r\nwould keep the prim aligned pointing forwards for the furation of its flight.', 'ReOpened Count': 0.0, 'Severity': 'Unset', 'Target Viewer Version': 'viewer-development', 'Why is this feature important to you? How would it benefit the community?': 'This would work great with the new RezWithParams feature. Allowing projectiles to arc nicely without requiring a script to be inside of them.', } ```
sl-service-account commented 10 months ago

R3D Emerald commented at 2023-10-24T20:14:02Z, updated at 2023-10-24T20:14:12Z

This would be cool to see fixed

sl-service-account commented 10 months ago

Spidey Linden commented at 2023-10-25T18:18:58Z

Issue accepted. We have no estimate when it may be implemented. Please see future release notes for this fix.