UCorePhysicsEdgeSpawnComponent
UCorePhysicsEdgeSpawnComponent belongs to the CorePhysicsEdge runtime module.
In eiusmod consequat esse lorem ad esse pariatur excepteur magna magna. Irure ex ipsum esse duis ex voluptate consectetur sint sit consectetur pariatur dolor sint et. In veniam consectetur excepteur irure tempor aute nostrud amet aliquip sed sit.
Declaration
1Blueprint Setup:
21. Open your Actor Blueprint
32. Add Component > search "My Plugin Component"
43. In the Details panel, set:
5 - Update Interval: 0.1
6 - Auto Activate: true
7 - Max Instances: 50
84. Connect the OnStateChanged event to your handler
95. Compile and Save the Blueprint
Members
| Function | Return Type | Description |
|---|---|---|
| Initialize() | void | Set up the subsystem |
| Query(Params) | bool | Execute a spatial query |
| GetState() | EMyState | Return current state |
| Reset() | void | Reset to default state |
| SetConfig(Config) | void | Apply a configuration |
Example
1; DefaultEngine.ini
2[/Script/CorePhysicsEdge.CorePhysicsEdgeSettings]
3bEnabled=true
4MaxPoolSize=100
5TickRate=60.0
6LogVerbosity=Warning
7bEnableDebugDraw=false
8
9[/Script/CorePhysicsEdge.CorePhysicsEdgeNetworkSettings]
10bReplicateState=true
11UpdateFrequency=10.0
12MaxReplicationDistance=10000.0