WorldModel Is Now Available

Hey Developers,

We have released the new WorldModel Instance type. The WorldModel provides some physics features to a ViewportFrame. More specifically, you can make a WorldModel a child of a ViewportFrame, and then parent geometry to the WorldModel. This will then allow you to use raycasts in the ViewportFrame through the WorldModel. Furthermore you can put Humanoid characters in the WorldModel and their joints will be set-up correctly, and you can animate them.

Thanks,

The Roblox Team

494 Likes

40 posts were merged into an existing topic: Positive Feedback For WorldModel Is Now Available

Is there a limit to how many we can use.

19 Likes

When will the docs be updated? It doesn’t seem like it has any of the functions documented.

30 Likes

No need to use that super complicated script for live CCTV now, right?

Edit: Nevermind I misunderstood the purpose of this, but it still helps out a small bit.

29 Likes

oh my god

OH MY GOD


Thanks to this, I have just thought of so. many. possibilities.

Any known caveats/flaws, may help if I knew?

apart from that i declare this feature EPIC

19 Likes

WorldModel doesn’t have any members, all of its members are inherited, although it appears to not show its inherited members from WorldRoot.

10 Likes

I was literally discussing adding animated characters to a viewport frame with @WisdomClock today. This came at the perfect time for us haha

Will this allow particles to play in viewport frames, and if not are there plans to add this functionality?
Also would be great to know if we will ever be allowed to put SurfaceGui objects into a viewportframe.

21 Likes

Yeah, I was looking for the inherited WorldRoot functions, thanks. They appear to also be missing on the Workspace page.

8 Likes

Roblox’s IX team has to deal with that.
cc @Ozzypig

9 Likes

As @daireb asked, will this render ParticleEmitters? Or is there plans to add this in the future?

Great addition regardless.

12 Likes

Are WorldModels usable outside of ViewportFrames? For instance, can I still use the raycasting methods of WorldModel on the server to raycast against parts that aren’t members of the workspace without having to replicate them to every client.

10 Likes

IX Team is already on it! Not to be intentionally vague, but they’ll be available Soon :tm:

9 Likes

This hasn’t been specifically tested, but i think it should work.

7 Likes

Yeah everybody seems hyped. I typed “WorldModel” and nothing pops up. How do we use a WorldModel?

4 Likes

Would using the WorldRoot with limited amount of parts be more efficient than using :FindPartOnRayWithWhitelist with same parts on workspace (considering workspace has many other different instances)?

4 Likes

so does this mean when parenting a humanoid model to it, it’ll just fall into the abyss, or will they stay in place? basically, will I need to create a baseplate for humanoids to stand on?

3 Likes

WorldModel ? Animate humanoid inside a ViewportFrame ?

Heh, behold my power :
UIlisitin2

i believe you could do that since day 1 lol

185 Likes

Wow, I was actually just going through the calculations for doing animations in viewport frames yesterday, which I finished. However, I only need to modify a few lines of code to have the animations work with this new instance.

Although, I’m wondering which way is more efficient before I go and swap it. Would manually setting each CFrame of the limbs or setting the Transform of Motor6Ds with a WorldModel Instance be more efficient?

3 Likes

It seems like R15 character scaling values inside humanoids (such as BodyHeightScale) do not work properly on characters placed inside a WorldModel. Was this overlooked, or is it a limitation we shouldn’t expect to be remedied?

Until then, I will have to go back to the old ways of using invisible animated characters in the workspace.

2 Likes