I am basically wondering if there is any way to use TweenService to apply to character physics. For instance, in Tower of Hell, it uses tween service in some parts of the tower for moving parts. Just wondering how I could accomplish this.
What is your question exactly? What you want and the example you provided are not the same thing. It seems that you’re asking how to use tweenservice in general.
Well I know how to use tween service. But whenever you tween a part to move/rotate, it does not move the character. I need a tweening part to carry/apply physics to the character.
If you are talking about applying real world physics using tween you need to be more specific on what you want. For example, a couple days ago I made a post regarding the movement of a ship across the water riding the waves. I had to implement the sin and cos formula to be able to pull off a wave movement. Most of physics is just math and understanding the mechanics of how things move (when regarding to your example).
I am not trying to accomplish any extra physics with my idea. Simply, I am making an obby. I want certain parts to move from point a to point b using tween service. I already tried body movers, gyros, all that stuff. Hinges do not work in my situation either. Therefore, I want to know how to get the effect of body movers and angular velocities by using the TweenService to alter CFrame of parts.
I highly suggest you just check out the example code here:
Read the code and analyze it you can tweek it for your obby needs.
So are you trying to say if there is a way to move parts with a character moving with it?
Yes ^
30characterlimityay!!!
This helped none. I already know all of TweenService. I just need the part to move the character with physics.
Here is what I do not want, produced by your suggestion:
https://gyazo.com/b3f717178adcf8e0f7bada63da4f1c94
I’m not sure how to make your character move with the part moving but I’m testing to see if I can find a solution!
I want to accomplish this with TweenService, not body movers or body positions. The reason for this is multiple players playing at once can affect the platform in an unexpected way.
I don’t think there is a way to do it with TweenService but with BodyGyro and BodyPositions, yes.
In tower of hell, I’m sure that the parts moving is different to each player’s screen (client-sided). I think the reason why they set it as that is to make sure it doesn’t break or something.
It just means it is client controlled. Which I plan to do
There is absolutely no way of having moving platforms by TweenService which also move the player, because TweenService doesn’t use physics, and you can’t force it, on the other hand humanoids use physics parts to move along with them, physics is the way to go, try using AlignPosition and AlignOrientation, and as you said with many players causing bugs, that’s due to network ownership in general, part:SetNetworkOwner(nil) would make the part controlled by the server, and therefore wouldn’t result laggy players taking over.
[EDIT] - and yes, it’s possible to make each part individually moved by the client, that would have better results (at the cost of exploitability) but TweenService is just not the way to go, again, humanoids use physics - even on the client
Ya that is why I referenced UristMcSparks as that in a sense is the only way I would do it. When I use tween for stuff it tends to be with a seat. So essentially it anchors the humanoid so I dont worry about that.