Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to fix items going up without disabling CanCollide?

Asked by 6 years ago

So i was trying some things.. for a little project i'm going to try and make and this is my problem. When i would disable CanCollide it would go through the Yellow Parts too, i dont want this. I want the Red Part to Push the Yellow Parts. How would i do this without any trouble?

This is what i got for the Red Part

local Part = script.Parent
local TweenInformation = TweenInfo.new(
    2,
    Enum.EasingStyle.Linear,
    Enum.EasingDirection.In,
    -1,
    true,
    0
)

local PartProp = {
    Position = Vector3.new(-1, 0.5, -16)
}

local Tween = game:GetService("TweenService"):Create(Part, TweenInformation, PartProp)
Tween:Play()

And i know.. someone will think about using CFrame now, but if i would do this it would just go trough the items which isnt supposed to happen! Collision-Filtering didnt work for me either (Idk if i do anything wrong) Please could anyone help me ;-;?

0
did u try turning on anchor and disabling anchor? HappyTimIsHim 652 — 6y
0
Yes CrazyScript3r 67 — 6y
0
Make them both move. Jexpler 63 — 6y
0
both move? what? the Yellow Parts ? Cause these are supposed to get pushed.. not moved CrazyScript3r 67 — 6y

Answer this question