Add smoothPath option in createProjectScheduleEffectFromOption
This commit is contained in:
@@ -684,6 +684,10 @@ export function createProjectScheduleEffectFromOption(options: {
|
|||||||
previousEffect?.type === "followActorPath"
|
previousEffect?.type === "followActorPath"
|
||||||
? previousEffect.loop
|
? previousEffect.loop
|
||||||
: targetOption.defaults.actorPathOptions?.[0]?.loop ?? false,
|
: targetOption.defaults.actorPathOptions?.[0]?.loop ?? false,
|
||||||
|
smoothPath:
|
||||||
|
previousEffect?.type === "followActorPath"
|
||||||
|
? previousEffect.smoothPath
|
||||||
|
: true,
|
||||||
progressMode: "deriveFromTime"
|
progressMode: "deriveFromTime"
|
||||||
});
|
});
|
||||||
case "model.playAnimation":
|
case "model.playAnimation":
|
||||||
|
|||||||
Reference in New Issue
Block a user