- Forums
- Forum Help
- Search Forum
- Login
- Register
Truevision3D
>>
TV3D SDK
>>
TV3D SDK 6.3
>>
Mesh.getposition
Pages: [
1
]
« previous
next »
Print
Author
Topic: Mesh.getposition (Read 1018 times)
mathijs
Community Member
Posts: 369
Mesh.getposition
«
on:
December 07, 2002, 07:45:44 AM »
It seems like i cant figure mesh.getposition. How does it returns the data.
dim pos as TV_VECTOR3
pos = mesh.getposition
that doesnt seems to work
dim x as long
x = mesh.getposition.x
also doesnt seem to work?
How do i get the position?
Mathijs
Logged
Arli
Administrator
Community Member
Posts: 993
Mesh.getposition
«
Reply #1 on:
December 07, 2002, 07:59:20 AM »
Take a look at this:
Function GetPosition() As D3DVECTOR
Its returning a D3DVECTOR.
So you should do.
Code:
Dim vPos as D3DVECTOR
vPos = Mesh.GetPos
it gets all 3 cordinates(X,Y,Z) from the Mesh Position.
And its stored in:
vPos.X
vPos.Y
vPos.Z
Logged
Happy Coding
Arli
Truevision3D Developer
Arli@Truevision3D.com
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