|
Yasiu Math 1
Collection of mathematic functions that help create game mechanics and procedural tools
|
Currently most classes are made as UObjects for coding flexibility.
They are spawned a bit different than actor components.
Squirrel Object is not treated as ActorComponent, it has to be spawned from class using node CreateFromClass
To use math functions include this in your file:
To access one of the RNG in C++, add include in your file:
It is UObject, so it must comply with unreal engine rules for objects lifecycle. Store ref value as any UObject if you want it to persist in game for longer.
Squirrel13 has also ActorComponent work with network replication.