Summary
Like the title says, playing skeletal animations on entities and components added through Verse does not work.
The mesh will be visible just fine, it just won’t play any skeletal animations.
Below is an example.
vEntity := entity{}
if (vSimulationEntity := GetSimulationEntity[])
{
vSimulationEntity.AddEntities(array{vEntity})
vMeshComponent := SkeletalMesh{Entity := vEntity}
vEntity.AddComponents(array{vMeshComponent})
if (vResult := vEntity.PlaySkeletalAnimation[SkeletalAnimationWalk{}]):
else:
Print("Couldn't play animation")
}
else:
Print("Couldn't retrieve simulation entity")
Please select what you are reporting on:
Verse
What Type of Bug are you experiencing?
Scene Graph
Steps to Reproduce
Spawn an entity through Verse, add a mesh_component (skeletal) and play a skeletal animation.
Expected Result
The skeletal animation to play.
Observed Result
The skeletal animation does not play.
Platform(s)
Desktop.
Additional Notes
If you too are experiencing the same issue, please vote and comment below. If not, please do still vote.