S2ENGINE HD
1.4.6
Official manual about S2Engine HD editor and programming
|
Base Class: SceneObject
Projectile is a special kind of object used, mainly, to check if something is hitted when a character weapon shoot. When it hits a surface of an object it sends a message to the hitted object, so, using script, you can code the response of the object to the hit. In other words projectile executes at every frame the RayPick operation during its travel.
Speed | (float) Speed of the projectile. |
Power | (float) Damaging power of the projectile when it hits an object. |
defaultPS | (string) Default particle system prefab that has to be spawned when projectile hits a surface. |
DefaultDecal | (string) Default decal prefab that has to be spawned when projectile hits a surface. |
impactPSs | (string) List of particle system prefabs to spawn for every material archetype. See Material properties. |
impactDecals | (string) List of decal prefabs to spawn for every material archetype. See Material properties. |
defaultPS
and DefaultDecal
are spawned if exist.none
Name | Description | Content parameters | Receivers |
Hitted | This message is Sent every time projectile hits an object |
|
Hit Object |