ProjectileComponent
classnative name gameprojectileComponentnative
extends IPlacedComponent › IComponent › IScriptable › ISerializable
Properties 14
| Name | Type | Flags |
|---|---|---|
bouncePreviewEffect | raRef<worldEffect> | overriding |
collisionsFilterClosest | Bool | overriding |
derivedVelocityParams | gameprojectileVelocityParams | overriding |
deriveOwnerVelocity | Bool | overriding |
explosionPreviewEffect | raRef<worldEffect> | overriding |
explosionPreviewTime | Float | overriding |
filterData | ref<physicsFilterData> | overriding |
gameEffectRef | EffectRef | overriding |
onCollisionAction | gameprojectileOnCollisionAction | overriding |
previewEffect | raRef<worldEffect> | overriding |
queryPreset | QueryPreset | overriding |
rotationOffset | Quaternion | overriding |
sweepCollisionRadius | Float | overriding |
useSweepCollision | Bool | overriding |
Methods 31
native func AddAccelerateTowards(params: ref<AccelerateTowardsTrajectoryParams>)
native func AddAxisRotation(axis: Vector4, value: Float)
native func AddFollow(params: ref<FollowTrajectoryParams>)
native func AddFollowCurve(params: ref<FollowCurveTrajectoryParams>)
native func AddIgnoredEntity(entityID: EntityID)
native func AddLinear(params: ref<LinearTrajectoryParams>)
native func AddParabolic(params: ref<ParabolicTrajectoryParams>)
native func ClearIgnoredEntities()native func ClearTrajectories()native func GetGameEffectInstance() -> ref<EffectInstance>
native func GetPrintVelocity() -> Vector4
native func GetProjectileOwner() -> wref<GameObject>
native func GetTrailVFXName() -> CName
native func GetTrailVFXScale() -> Float
native func IsTrajectoryEmpty() -> Bool
native func LockOrientation(enable: Bool)
native func LogDebugVariable(key: CName, value: String)
native func RemoveIgnoredEntity(entityID: EntityID)
native func SetCollisionCooldown(cooldown: Float)
native func SetCollisionEvaluator(collisionEvaluator: ref<gameprojectileScriptCollisionEvaluator>)
native func SetDeactivationDepth(depth: Float)
native func SetDesiredTransform(transform: Transform)
native func SetEnergyLossFactor(energyLossFactor: Float, puppetEnergyLossFactor: Float)
native func SetEnergyLossFactor()native func SetExplosionVisualRadius(explosionRadius: Float)
native func SetOnCollisionAction(action: gameprojectileOnCollisionAction)
native func SetSpiral(params: ref<SpiralControllerParams>)
native func SetWasTrajectoryStopped(wasStopped: Bool)
native func Slide(params: ref<SlideTrajectoryParams>)
native func SpawnTrailVFX()native func ToggleAxisRotation(enabled: Bool)