You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using this plugin in my project,and Often need to update the vertex color without other data.Now I have to recreate MeshSection(Or updateMeshSection) ,Which can lead to unnecessary performance overhead with physice recook,but I did not actually change the mesh shape.Can I only change vertex‘s color without cooking coliision.
The text was updated successfully, but these errors were encountered:
@zfyu222 How do you display the vertex colors in the engine?
Just setting the Vertex colors like this: RuntimeMesh->CreateMeshSection(0, Vertices, Triangles, Normals, TextureCoordinates, VertexColors, Tangents); does not do the trick for me.
The mesh keeps showing with the standard texture. Do I need to create a material from the vertex colors?
Well.. honestly no you can't really change it directly without recooking the collision... That's something I'll keep in mind for the new version.
The way you can get around this is use the separate collision. CreateMeshCollisionSection() or something like that, I don't remember the exact name. You could use that to handle the collision and then just disable collision on the normal section you want to change frequently.
I am using this plugin in my project,and Often need to update the vertex color without other data.Now I have to recreate MeshSection(Or updateMeshSection) ,Which can lead to unnecessary performance overhead with physice recook,but I did not actually change the mesh shape.Can I only change vertex‘s color without cooking coliision.
The text was updated successfully, but these errors were encountered: