Jump to content

Moving a Model According To The Plot


Recommended Posts

I am trying really hard to find a solid solution as to rotating & moving a model's CFrame according to the player's plot.

So basically this is a sandbox tycoon which involves players placing down items. When the player joins, I want the player's items to shift positions and orientations according to the plot that the player is put onto so that the items are onto the player's plot and not on some random plot.

I believe you can use :Lerp but I have no idea where to start. When I used lerping, it's moving all of the model's CFrame to the plot's CFrame. Any help would be greatly appreciated! Thank you.

Edited by ijmod

Share this post


Link to post
Share on other sites
1 hour ago, kinglalu said:

For placement systems, one easy way to to it is to use the placement module, since it handles most of that stuff.

https://www.roblox.com/library/1122124371/Placement-Handler-V2

I already handled the placement system. Everything works flawlessly except the part where the model's position and orientation is changed depending on the plot the player is on upon the game startup. 

Share this post


Link to post
Share on other sites
3 hours ago, PCDude said:

Your using YXZ for orientation yes? Also, are you using orientation Explicitly from the model or the rotation matrices for the model cframe?

I'm using the orientation from the model

Share this post


Link to post
Share on other sites
  • 6 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.