ACF_GetPhysicalParent

S

Part of _G (Global) namespace

function ACF_GetPhysicalParent( obj )
View on GitHub|lua/acf/shared/sh_ace_functions.lua:6-25
👁️ 0 viewsUpdated 2 hours ago
⚠️

Verification Needed

This function has no documentation yet.

Description

No description available.

Parameters

NameTypeDescription
objany

Returns

No return values documented.

Examples

No examples available.

Used In(16 locations)

📄lua/acf/server/sv_acfballistics.lua
1 usage
L38local Parent = ACF_GetPhysicalParent(BulletData.Gun)
📄lua/acf/server/sv_acfdamage.lua
5 usages
L824if IsValid( ACF_GetPhysicalParent(Target):GetPhysicsObject() ) then
L825Bullet.TraceBackComp = math.max(ACF_GetPhysicalParent(Target):GetPhysicsObject():GetVelocity():Dot(Bullet["Flight"]:GetNormalized()),0)
L914local parent = ACF_GetPhysicalParent(Target)
📄lua/acf/shared/sh_ace_functions.lua
1 usage
L224local Parent = ACF_GetPhysicalParent(obj)
📄lua/effects/acf_muzzleflash/init.lua
1 usage
L13Gun.Parent = ACF_GetPhysicalParent(Gun) or Gun
📄lua/entities/acf_gearbox/init.lua
2 usages
L431if self.Legal and self.Parentable then self.RootParent = ACF_GetPhysicalParent(self) end
L524local Base = ACF_GetPhysicalParent( self )
📄lua/entities/acf_gun/init.lua
1 usage
L893local TestVel = self:WorldToLocal(ACF_GetPhysicalParent(self):GetVelocity() + GPos)
📄lua/entities/acf_rack/init.lua
1 usage
L375self.Parent = ACF_GetPhysicalParent(self)
📄lua/weapons/weapon_ace_javelin/shared.lua
2 usages
L486local RootCTarget = ACF_GetPhysicalParent( CurTarget )
L487local RootLastTarget = ACF_GetPhysicalParent( lasttarget ) --looking for the physical entity of the last target.
📄lua/weapons/weapon_ace_stinger/shared.lua
2 usages
L440local RootCTarget = ACF_GetPhysicalParent( CurTarget )
L441local RootLastTarget = ACF_GetPhysicalParent( lasttarget ) --looking for the physical entity of the last target.