Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
0 registered members (), 938 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Return texture angle #143781
07/27/07 10:05
07/27/07 10:05
Joined: Nov 2006
Posts: 193
England
RyuShinji Offline OP
Member
RyuShinji  Offline OP
Member

Joined: Nov 2006
Posts: 193
England
im making a 3d puzzle game where you have to move and rotate blocks to complete a puzzle, i have used a single joint bone to control rotation of the puzzle blocks, so this does not change the pan, tilt and roll values of the blocks,

so i need a way to tell it the blocks are facing the right way up or not.

is there any code to return the texture angle?

so i can do somthing like

if (texture == facing up)
{do somthing...;}

Re: Return texture angle [Re: RyuShinji] #143782
07/27/07 13:11
07/27/07 13:11
Joined: Dec 2006
Posts: 1,086
Queensland - Australia
Nidhogg Offline
Serious User
Nidhogg  Offline
Serious User

Joined: Dec 2006
Posts: 1,086
Queensland - Australia
I think it may have something to do with c_scan, Have a look in the manual it says about scanning texture in there. Just do a search for either texture or c_scan..

Good luck.


Windows XP SP3
Intel Dual Core CPU: E5200 @ 2.5GHz
4.00GB DDR3 Ram
ASUS P5G41T-M LX
PCIE x16 GeForce GTS 450 1Gb
SB Audigy 4
Spyware Doctor with AntiVirus
Re: Return texture angle [Re: Nidhogg] #143783
07/27/07 14:18
07/27/07 14:18
Joined: Feb 2006
Posts: 2,185
mpdeveloper_B Offline
Expert
mpdeveloper_B  Offline
Expert

Joined: Feb 2006
Posts: 2,185
why not use ent_bonereset to get it back at it's default values


- aka Manslayer101
Re: Return texture angle [Re: mpdeveloper_B] #143784
07/27/07 14:43
07/27/07 14:43
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline
Expert
Joey  Offline
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
try c-trace and the resulting normal vector, of course with polygonal tracing.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1