- Forums
- Forum Help
- Search Forum
- Login
- Register
Truevision3D
>>
TV3D SDK
>>
TV3D SDK 6.5
>>
rotate a mesh arround another
Pages: [
1
]
« previous
next »
Print
Author
Topic: rotate a mesh arround another (Read 266 times)
spooky_paul
Community Member
Posts: 15
rotate a mesh arround another
«
on:
August 20, 2008, 10:50:37 AM »
hello m8s,
how can i rotate the position of a mesh around another one (or a point in space for that mater), like a satellite orbits its planet?
thanks
«
Last Edit: August 20, 2008, 10:55:33 AM by spooky_paul
»
Logged
Fox1980
Customers
Community Member
Posts: 239
Re: rotate a mesh arround another
«
Reply #1 on:
August 20, 2008, 11:08:30 AM »
try using this function
TVMathLibrary.MoveAroundPoint( Origin As D3DVECTOR, Radius As Single, H_Ang As Single, V_Ang As Single)
and use the center of the mesh as origin
Logged
"Programmers don't die. They just GO SUB without RETURN."
spooky_paul
Community Member
Posts: 15
Re: rotate a mesh arround another
«
Reply #2 on:
August 20, 2008, 11:12:34 AM »
Thank you
Logged
Fox1980
Customers
Community Member
Posts: 239
Re: rotate a mesh arround another
«
Reply #3 on:
August 20, 2008, 11:15:56 AM »
Cheers. By the way i forgot to mention, if you're getting odd results using that function remember to check if you're passing radians or degrees to the angle according to what you chose in TVEngine.SetAngleSystem
Logged
"Programmers don't die. They just GO SUB without RETURN."
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Truevision3D Official Information
-----------------------------
=> News and Announcements
=> Development Information
-----------------------------
TV3D SDK
-----------------------------
=> TV3D SDK 6.3
===> Bugs
=> TV3D SDK 6.5
===> Bugs
===> Content Pipeline
===> Shader Development
-----------------------------
Projects
-----------------------------
=> Announcements
=> In-Development
=> Showcase
=> Recruitment
-----------------------------
Game Development
-----------------------------
=> Engine Comparison
=> Game Development
=> Companion Tools
=> Design and Theory
Powered by SMF 1.1.3
|
SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks