Hi!
I need to initialize some data on a constraint once and then use it within jobs
Is this a proper / intended way to do it:
public class JiggleConstraint : RigConstraint<
JiggleConstraintJob,
JiggleConstraintData,
JiggleConstraintJobBinder<JiggleConstraintData>
>
{
private void Start()
{
m_Data.random1 = new Vector3(blah blah);
m_Data.initialRotation = m_Data.constrained.localRotation.eulerAngles;
}
?