#Skinned Mesh NPC won’t face towards target

1 messages · Page 1 of 1 (latest)

stiff sonnet
stone hearth
#

Calculate the target position as a CFrame, then lerp

#

nvm, that wouldnt help

#

This is a pretty bad solution but it should work

stiff sonnet
#

im not really sure how your solution works yet so im not sure how to solve it

#

although you only give cframe.lookat 2 values instead of 3 it seems?

stone hearth
#

In the script I sent there is no line 104 tho

stiff sonnet
stone hearth
#

try changing that line to local tween = tweenService:Create(houndRootPart, TweenInfo.new(tweenSpeed), {CFrame = CFrame.lookAt(houndRootPart.Position, Vector3.new(position.X, houndRootPart.Position.Y, position.Z))})

#

wait no, this

local tween = tweenService:Create(houndRootPart, TweenInfo.new(tweenSpeed), {CFrame = CFrame.new(houndRootPart.Position, Vector3.new(position.X, houndRootPart.Position.Y, position.Z))})

stiff sonnet
stone hearth
#

damm

stiff sonnet
#

i could try making a r6 model as i know it works with r6 models then disable collisions on my mesh and weld them together

#

although that feels more like a band aid solution

stone hearth
#

have you tried just using moveto?

stiff sonnet
stone hearth
#

Oh