When using Trace Complex in a LineTraceByChannel node does not give accurate results when object is simulating physics and scaled. The scaled root mesh in the BP will only register its collision rather than detecting any object inside it.
Sample Project attached: 4.8 - CL-2521032
1. Open UE4
2. Create a BP with two static mesh assets
3. Make the root an asset that is hollowed out and a missing front. (ie. a box that is hollowed with missing or tire-well on a car, like the users AH link)
4. Second mesh can be anything inside the first mesh
5. Setup the player character to do a line trace by channel (see attached Image for BP setup)
6. Place BP with two meshes in the scene
7. Set up the Level BP to simulate physics for the two meshes in the BP on key press
8. PIE
9. Move the line trace between the mesh 1 and mesh 2. You should see them both registered
10. Press key that simulates physics
11. Move the line trace between the two meshes again. Should only register the root mesh so long as the collision is larger than the interior mesh.
IF USING SAMPLE PROJECT:
1. Open Sample project attached
2. PIE
3. Move line over the sphere and the box. You will see two different meshes registered
4. Press G to simulate physics
5. Move the line trace over the box and the sphere. You should only see collision for the box and no longer detecting the sphere.
Results: When the BP is simulating physics on the objects Trace Complex no longer seems to look beyond the collision of the box and at the geometry.
Expected: When simulating physics and using trace complex the mesh geometry should be used like when not simulating physics.
I am not able to find world outliner how to enable it?
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
How can i modify the param name in EQS node
Delay nodes occasionally don't fire the "Completed" output in a nativized build
An error occurred while trying to generate project files !?
Teleporter in the Creative Hub is Locked and cannot be accessed
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Gameplay |
---|---|
Affects Versions | 4.7 |
Target Fix | 4.9 |
Fix Commit | 2565625 |
---|
Created | Apr 27, 2015 |
---|---|
Resolved | May 26, 2015 |
Updated | Apr 27, 2018 |