s&
box
News
Api
History
Sign in through
STEAM
DamageInfo
.
WithForce
list
Api Index
feed
DamageInfo
class
DamageInfo
Properties
data_object
Attacker
data_object
Body
data_object
BoneIndex
data_object
Damage
data_object
Force
data_object
Hitbox
data_object
Position
data_object
Tags
data_object
Weapon
Methods
push_pin
FromBullet
( hitPosition, hitForce, damage )
push_pin
FromExplosion
( sourcePosition, force, damage )
push_pin
Generic
( damage )
code
HasAllTags
( tags )
code
HasAnyTag
( tags )
code
HasTag
( tag )
code
UsingTraceResult
( result )
code
WithAttacker
( attacker, weapon )
code
WithBone
( bone )
code
WithDamage
( damage )
code
WithForce
( force )
code
WithHitBody
( body )
code
WithPosition
( position )
code
WithTag
( tag )
code
WithTags
( tags )
code
WithWeapon
( weapon )
WithForce
Sandbox.Game
DamageInfo
WithForce
(
Vector3
force
,
)
Summary
Sets the force
Parameters
Vector3
force
,
Return Value
DamageInfo
output