I am trying to create a simple scene where a car drives in a figure 8 pattern around the viewer, with the viewer near the center of the 8. The car is a skeletal mesh with a simple skeleton, animated in Maya and exported (with the motion on the root) via FBX 2014. Animation is played back via a simple level sequence.
When the car is in front of the camera, it is visible. When it passes behind the camera, frustum culling kicks in and hides it to boost rendering performance. BUT when the car circles around behind us and then drives past us back into view - it never re-appears. Even though the mesh’s bounds are entirely within the frustum. If you “wiggle” the camera while in simulation mode, or look around randomly while in VR preview mode (in the Rift CV1) you can get lucky and wake up the frustum culling and the object will pop back into existence right in the middle of your view.
The only way I can stop this happening is by making the car’s Bounds Scale so enormous that even when the car drives 50m away, the viewer is still inside the bounds of the car. If the viewer ever leaves the car’s bounds even just a little while the car is behind you , it will not re-appear.
Any suggestions? Obviously a 50 meter Bounds Scale is a pretty clumsy hack, especially when we are chasing milliseconds for VR performance.
- Root motion on or off doesn’t seem to change anything
- The skeleton mesh has a physics component of a generous size to entirely cover the car
- This effect can be duplicated in the default scene with the car represented by just a single cube parented to a bone on a Maya motion path (baked)
- I thought this might be a VR thing (using the new templates that come with 4.13), but it happens in the editor window too while in simulate mode.
- It’s very similar to this post [Solved] Matinee renders skelmesh only when i scale bounds! - Rendering - Unreal Engine Forums But the difference is that he’s making the Bounds Scale a bit bigger. In my case if the truck started 200m behind the “first camera” I would need its bounds to be 205m (!) to make sure the camera itself was always within the truck’s bounds.