View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005599||The Dark Mod||Physics||public||01.05.2021 14:31||15.05.2021 06:54|
|Product Version||TDM 2.09|
|Target Version||TDM 2.10|
|Summary||0005599: Improve grabber on lightweight objects|
|Description||Grabbing lightweight objects is very dangerous, because they easily reach high velocities from small mouse movements.|
They push nearby objects around and often bring noise, if not handled carefully.
I'd like to do a few improvements to this.
|Additional Information||Originally reported here:|
|Tags||No tags attached.|
Committed some possible changes:
r9334. Scale velocity limit with amount of time "throw" button was held, just like impulse.
[REVERTED] r9335. Apply velocity limit to dragged object, add mass of player's arm to mass of dragged object.
In case there are not good, simply revert both of them (or one of them separately).
More changes (follow-up for velocity limit of dragged object):
[REVERTED] r9338. Raise velocity limit when grabbed object is far from the center of the screen.
First of all, I have reverted my prior changes in dragging code:
r9340. Reverted recent changes to grabber.
The changes in throwing code remain.
Then I added a whole new mode for grabber:
r9346. Added idVec3::ProjectToConvexCone method for "sliding" physics behavior.
r9347. Implemented new grabber.
(the first commit does not change behavior, only adds utility function)
The new grabber is enabled under tdm_drag_new cvar (enabled by default).
Its behavior is controlled by cvars like tdm_drag2_XXX.
The most important is tdm_drag2_rigid_silentmode: it controls when "silent" mode is used.
The silent mode disabled all impulses to other objects and bounce sounds, as well as stims, script events, fx, etc.
Started a thread for feedback:
|01.05.2021 14:31||stgatilov||New Issue|
|01.05.2021 14:31||stgatilov||Status||new => assigned|
|01.05.2021 14:31||stgatilov||Assigned To||=> stgatilov|
|01.05.2021 14:31||stgatilov||Relationship added||related to 0003543|
|01.05.2021 14:33||stgatilov||Relationship added||related to 0001081|
|01.05.2021 17:07||stgatilov||Note Added: 0013940|
|05.05.2021 14:40||stgatilov||Note Added: 0013957|
|05.05.2021 14:46||stgatilov||Note Edited: 0013940||View Revisions|
|05.05.2021 14:46||stgatilov||Note Edited: 0013957||View Revisions|
|07.05.2021 04:08||stgatilov||Note Added: 0013968|
|15.05.2021 06:54||stgatilov||Status||assigned => feedback|
|15.05.2021 06:54||stgatilov||Note Added: 0014020|