Issue Data
|
Issue #23892: Frying Pan Not Havoc Settling At MS Azalea
A frying pan (REF ID: 0304944C) at the MS Azalea (Exterior Cell: MSAzaleaExt) does not havoc settle and floats in mid-air once the hot plate underneath it is removed. Screenshot attached.
Attached Files: 20180220102135_1.jpg |
Related Issues: 24009
I can confirm the issue, but am not sure how to go about fixing it assuming it's even possible.
I'm almost positive this isn't a mesh issue. It may have something to do with the defaultdisablehavokonload script property on the pan instead.
Comment #2 Nov 12, 2019 1:00 pm
Edited by BlackPete on Nov 12, 2019 1:00 pm
Unlike the script name suggests, the DefaultDisableHavokOnLoad script is not only for disabling havok. It also controls the re-enabling of havok if required.
In this case, we have two refs that form a "havok pair": the pan and the hot plate. Both refs have a DefaultDisableHavokOnLoad script, so they will not start havok settling when they load. What makes them a pair are their positions in the game world: one of them is placed on top of the other. Thus, if one of them starts havok settling, the other should start havok settling too. To make this work, some properties have to specified on the scripts:
(1) On both references, we need to specify in which conditions the reference itself should start havok settling. This is handled by three bool properties (the names are self-explaining) that usually are all 'true': HavokOnHit, HavokOnActivate and HavokOnZKey (i.e. if grabbed by the player).
(2) If we want that ref2 starts havok settling when ref1 does, we have to make a link from ref1 to ref2 and the script will handle everything else.
In this case, there is no need for the hot plate to start havok settling when the pan is grabbed (because the plate is standing on a flat surface already). Though, the pan (03049448) needs to start settling if the plate is grabbed, so the plate needs to be linked to the pan.
That link was missing.
In this case, we have two refs that form a "havok pair": the pan and the hot plate. Both refs have a DefaultDisableHavokOnLoad script, so they will not start havok settling when they load. What makes them a pair are their positions in the game world: one of them is placed on top of the other. Thus, if one of them starts havok settling, the other should start havok settling too. To make this work, some properties have to specified on the scripts:
(1) On both references, we need to specify in which conditions the reference itself should start havok settling. This is handled by three bool properties (the names are self-explaining) that usually are all 'true': HavokOnHit, HavokOnActivate and HavokOnZKey (i.e. if grabbed by the player).
(2) If we want that ref2 starts havok settling when ref1 does, we have to make a link from ref1 to ref2 and the script will handle everything else.
In this case, there is no need for the hot plate to start havok settling when the pan is grabbed (because the plate is standing on a flat surface already). Though, the pan (03049448) needs to start settling if the plate is grabbed, so the plate needs to be linked to the pan.
That link was missing.
Comment #3 Nov 19, 2019 1:52 pm
Edited by Sclerocephalus on Nov 19, 2019 1:56 pm
Showing Comments 1 - 3 of 3