Heyo as you can see from this clip https://streamable.com/lbkydi you can see that you can very easily push the other character by walking into them also the rotation never changes they’re always facing towards the other each other how can I achieve this? I currently kind of implemented this however it’s not great. In my version you’re unable to push https://streamable.com/34edo6 and also sometimes this happens https://streamable.com/b9t30t.
I’m currently using BodyPosition and Heartbeat, but wanna know a better method.
Heres my current code.
local BodyPos = Instance.new("BodyPosition")
BodyPos.Position = Main.HRP.Position
BodyPos.MaxForce = Vector3.new(0,0,math.huge)
BodyPos.P = 1e6
BodyPos.Parent = Main.HRP
```t
Modules.ClientMatchManager.Connections["FacePlayer"] = Main.RunService.RenderStepped:Connect(function()
if Main.Humanoid:GetState() ~= Enum.HumanoidStateType.Freefall then
local CharacterPos = Main.Character.PrimaryPart.Position
local OpponentPos = OpponentCharacter.PrimaryPart.Position
local NewVector = Vector3.new(OpponentPos.X,CharacterPos.Y,OpponentPos.Z)
local NewCFrame = CFrame.new(CharacterPos,NewVector)
Main.Character:SetPrimaryPartCFrame(NewCFrame)
end
end)