Jump to content

Scaling a physical entity


smashthewindow
 Share

Recommended Posts

I'm trying to recreate something like the mushroom effect in Super Mario game. (Mario turns bigger.)

But in my case, I have to scale a model entity.

I began searching the API, and I found this page.

Scaling should not be used with physics bodies.

Is there any specific reason for this? (eg: the collision information does not get scaled, etc)

Blog & Portfolio

 

Current project: moon.chase.star

Link to comment
Share on other sites

I think that the Bodys are static(when you load a model a phy file will create) ,so you can't scale that.But you can try to make a physics hull in your game(in C++) with the Surface of the mesh und try to scale it.,

 

Well if that's the case it's no problem for me, as I'm just trying to scale simple spheres anyways. Thanks for the reply.

Blog & Portfolio

 

Current project: moon.chase.star

Link to comment
Share on other sites

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.

 Share

×
×
  • Create New...