Jump to content

can't get collisions to work with custom model.


endershadow

Recommended Posts

Use setBlockBoundsBasedOnState(IBlockAccess par1, int i, int j, int k){} with several setBlockBounds(minX, minY, minZ, maxX, maxY, maxZ) inside to change the bounding box by the direction of your cabel.

If i helped you, don't forget pressing "Thank You" button. Thanks for your time.

Link to comment
Share on other sites

@Naitenne he already uses it

@endershadow when you say "it pushes you out", you mean you don't immediately collide with it? as in you're able to walk into it first then it pushes you out? if that's the case, it could be an unsynced server and client thing. i'm pretty sleepy right now so i'm not really reading your code thoroughly i'm afraid. if it's not a server client thing, i'll read it again tomorrow and see if i can find something

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.