Jump to content

[SOLVED] C++ API / Nodes / WorldTrigger


photo

Recommended Posts

image.thumb.png.2d2695f8468668dd56ee1e98aeabd955.png

 

How should I set the path to the red underlined part above? Debugging verifies that it contains a null value.

You are having a hard time creating an object with a script that is not an editor. There are many classes, but all concepts are unfamiliar.

What is the difference between objectMeshStaticPtr and objectMeshDynamicPtr?

Link to comment

Hi there!

The path to a file is set relative to the project data/ folder - that actually means that you assume that you are inside the data folder of your project (which is created when you create a project in SDK browser). If you want to use the mesh which is outside this folder, you use ../ to go to a directory which is one layer from this data folder and make your way to the folder you need.

The difference between objectMeshStatic and objectMeshDynamic in brief is that Static Mesh cannot be modified in runtime (procedurally), and Dynamic Mesh can be. So if you want to tear or break your object in runtime, it makes sense to make it Mesh Dynamic.

If it's not the case, and you have known that all along, please, also check that you don't debug a release or a development version. This is controlled in Visual Studio.

 

Otherwise, we need more details to help you with this issue.

Let us know if there's still a problem.

Link to comment
  • silent changed the title to [SOLVED] C++ API / Nodes / WorldTrigger
×
×
  • Create New...