|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: Setting Angle |
|
| Print at Dec 16, 2025, 2:27:07 AM | View all posts in this thread on one page |
| Posted by anandunadkat at Jan 28, 2013, 4:47:08 PM |
|
Setting Angle Hi, when i add object to my plan, the angle is not correct, so i try rotate it manually and see what angle figure i get. But when i try input that same angle into the code, and then run it, it wont be displayed with the same angle. Could anyone help me with of to set the rotation of an object correctly in java. furniture = new HomePieceOfFurniture(catalog.getCategory(7).getPieceOfFurniture(18)); |
| Posted by Puybaret at Jan 28, 2013, 4:54:45 PM |
|
Re: Setting Angle The angle is in radians. ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by anandunadkat at Jan 28, 2013, 5:16:34 PM |
|
Re: Setting Angle Thank you for your help, and what about X and Y to set an object. |
| Posted by Puybaret at Jan 28, 2013, 7:11:41 PM |
|
Re: Setting Angle All dimensions in the model are in centimeters ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
|
|
Current timezone is GMT Dec 16, 2025, 2:27:07 AM |