#Best way to move AI without humanoids
41 messages · Page 1 of 1 (latest)
i had a rock character that would move
but tweening has no physics
and i have no idea on how to use the new forces roblox added
i miss body forces
same i dont get why they removed them
works better than tweening and has physics
and you can move it in multiple ways at a time
whilst with tweening the cframe multiple times at the same times fucks everything up
you cant make them through the insert object menu, but if you want to use them even though they are deprecated you can create them using Instance.new()
local test = Instance.new("BodyForce") test.Parent = workspace.CurrentCamera
does depricating do anything to it? or do it just mean they stopped updating it.
Means they stopped updating and it shouldn’t be used for new work but if you want to you can still use it
Is there an alternitive by using Vector forces or something like that or is that complicated
Haven’t tried, personally I use humanoids and humanoid:moveto()
Is it easy implementing a humanoid into any model
?
I mean it just needs a humanoidrootpart, be un-anchored and to be rigged so yea it’s easy
:move() on .character and make your own tweener
its not a character model its a submarine
so that might be a pain to try to rig
or you could use magnitude
:move() works on all models???
It might be :moveto()
kk
i orginally just made a for loop and looped through the models children and if it was a part then i tweened it
not the best way
Yeah not really
You can probably adapt from that same thing, just calculate where everything is relative to an object by comparing a root parts position to everything else
Then change the parts position and use the calculations
ima try the humanoid way first
why not use setprimaryparttocframe() and use a lerped cframe, it gives smooth results. Humanoids are not the best if u are gonna use a lot of em.
^
It’s been awhile since i made it but when I made this dark souls boss, I created a custom humanoid to avoid weird physics. Definitely not the best custom humanoid but it got the job done!
:PivotTo(CFrame) is better because it doesn’t require a primary part and is newer
i dont think you can tween it can you?