clearkeron.blogg.se

Coppercube position x percent
Coppercube position x percent











additionalShootRotation:additional turn of the bullet flight. You can use this if shootToCameraTarget is off.additionalDamageCollision:the damage radius increases. Damage radius =additionalDamageCollision+bullet scale. additionalDamageCollision does not affect collision with obstacles.shootToCameraTarget:a shot to the target of the current active camera.onImpactInAI:action when hitting an object with "NGame AI" behavior.onImpactInNotAIObstacle:action on hitting a static object with collision.range:range of a bullet. after this distance the bullet will be removed.bulletMovementSpeed: bullet speed. Do not make it very large.damage:bullet damage. You can use CC variable "nodeName.health" to see/edit AI health.shotFrom:object from which the bullet will fly.Specify AI parameters. Remember to remove the AI node after death.

COPPERCUBE POSITION X PERCENT UPDATE

I do not recommend using bullet behavior if the project uses physics simulation. The engine cannot update static geometry and bullets take up memory after deletion. If you need to shoot, copy the bullet and make it visible.Add to bullet "collide when moved" and turn off "affected by gravity".

coppercube position x percent

  • JS variable "lastNGameAInode" for editing last AI parameters.
  • Execution bullet action when hitting an AI or an obstacle.
  • Ability to change the code completely, as you need.
  • Independence from standard AI and shoot scripts.
  • Two behaviors that will replace standard AI and shot scripts.











    Coppercube position x percent