Jump to content

TurnEntity ( global,local ) ? and Invisible Entity ?


Recommended Posts

Posted

Hi all,

 

can you help ???

 

According to the documentation should not

 

TurnEntity( cube, Vec3( 0.0f, 0.0f, 1.0f ), 0 );

 

rotate the cube arround z in global space ?

 

and-

 

Whats the easiest ( cheapest) way to make a cube invisible ( no shadows )

but still receives rays ?

 

 

Thanks,

Joachim

Posted

On any of the entity commands, when the global parameter is set to 1 then the action will be applied to global space. Local = 0. This only comes into effect if the entity has a parent. If no parent, then this parameter has no effect as it will act in global space no matter what.

  • Upvote 1

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Posted

Thanks macklebee,

 

if I understand right,

 

TurnEntity( cube, Vec3( 0.0f, 0.0f, 1.0f ) )

 

rotates the cube arround its "own origin", doesnt this mean local ?

 

and if it would rotate arround the "world origin" this would be global ?

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...