Jump to content

createColCuboid - how to extract it's size?


Recommended Posts

  • Other Languages Moderators
On 04/02/2017 at 12:40, Yazir said:

Hello! I have a problem - I need to retrieve size of cuboids. How can i do that, I can only retrieve it's position.

Also is there any simple way to make cuboids? Like making own definition to editor?

Are you using this to create the cube?

local cubeCollider = createColCuboid ( posX, posY, posZ, sizeX, sizeY, sizeZ )


Link to comment
23 minutes ago, Yazir said:

I'll have a look on that.

I have a problem with something else. I've drawn an rectangle with dxDrawRectangle, do you know how i can change it's size?

DX drawings return no element, so you have to use variables and then change these when needed.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...