Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
Mugen Wizardry
User Banned
Posted: 6th Aug 2010 22:25
How can I make it so like I can make a billboard for my player's health yet keep it from rotating to the orientation of the camera? i don't want it to follow to where the camera's pointing. it makes my 3d bar look 2d..

CHECK OUT SOME MUSIC FROM MY NEW TECHNO CD! TECHNOKINESIS
http://www.youtube.com/watch?v=4a8KedfgVv0
ALSO, CHECK OUT MY NEW TECHNO CD! http://www.imageposeidon.com/
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 6th Aug 2010 22:37
Just use a plain and don't rotate it - move it to a position that's in the camera's field of view.
Mugen Wizardry
User Banned
Posted: 6th Aug 2010 23:07
the thing is, i need it to follow my player WITHOUT rotating. i dont even use rotate. yet it rotates oO

CHECK OUT SOME MUSIC FROM MY NEW TECHNO CD! TECHNOKINESIS
http://www.youtube.com/watch?v=4a8KedfgVv0
ALSO, CHECK OUT MY NEW TECHNO CD! http://www.imageposeidon.com/
Mugen Wizardry
User Banned
Posted: 7th Aug 2010 00:35
anyone?

CHECK OUT SOME MUSIC FROM MY NEW TECHNO CD! TECHNOKINESIS
http://www.youtube.com/watch?v=4a8KedfgVv0
ALSO, CHECK OUT MY NEW TECHNO CD! http://www.imageposeidon.com/
Sasuke
20
Years of Service
User Offline
Joined: 2nd Dec 2005
Location: Milton Keynes UK
Posted: 7th Aug 2010 00:57
How are you making the billboard/quad follow the player?

A dream is a fantasy, if you achieve that fantasy it was never a dream to begin with.
Mugen Wizardry
User Banned
Posted: 7th Aug 2010 01:01
position object p.id+1,object position x(p.id),object position y(p.id) + (object size y(p.id)+1)/2.0,object position z(p.id)

CHECK OUT SOME MUSIC FROM MY NEW TECHNO CD! TECHNOKINESIS
http://www.youtube.com/watch?v=4a8KedfgVv0
ALSO, CHECK OUT MY NEW TECHNO CD! http://www.imageposeidon.com/
Mugen Wizardry
User Banned
Posted: 7th Aug 2010 01:13
do u need more info?

CHECK OUT SOME MUSIC FROM MY NEW TECHNO CD! TECHNOKINESIS
http://www.youtube.com/watch?v=4a8KedfgVv0
ALSO, CHECK OUT MY NEW TECHNO CD! http://www.imageposeidon.com/
Mugen Wizardry
User Banned
Posted: 7th Aug 2010 01:38
here. my whole code.

this is making me mad..



CHECK OUT SOME MUSIC FROM MY NEW TECHNO CD! TECHNOKINESIS
http://www.youtube.com/watch?v=4a8KedfgVv0
ALSO, CHECK OUT MY NEW TECHNO CD! http://www.imageposeidon.com/
KISTech
18
Years of Service
User Offline
Joined: 8th Feb 2008
Location: Aloha, Oregon
Posted: 7th Aug 2010 01:41 Edited at: 7th Aug 2010 01:42
Quote: "set object to camera orientation p.id+1 "


This line is rotating your p.id object to the same angles as the camera.

Quote: "rotate object p.id+1,0,camera angle y(),0 "


as is this.

Mugen Wizardry
User Banned
Posted: 7th Aug 2010 02:02
ok. i know the problem.

i need help creating limbs on p.id+1,obj,obj2,obj3 and link them together. that will fix this.



CHECK OUT SOME MUSIC FROM MY NEW TECHNO CD! TECHNOKINESIS
http://www.youtube.com/watch?v=4a8KedfgVv0
ALSO, CHECK OUT MY NEW TECHNO CD! http://www.imageposeidon.com/
KISTech
18
Years of Service
User Offline
Joined: 8th Feb 2008
Location: Aloha, Oregon
Posted: 7th Aug 2010 02:14
If you have the Matrix1Utils.

c = (free object number)
make object cube c, 0.1
m = (free mesh number)
make mesh from object m, c
L = append limb Object, m
offset limb Object, L, 0, 10, 0 ` Set the 10 to whatever puts the billboard at the right height
hide limb L
glue object to limb p.id, Object, L

I use this same technique to attach cargo pods to ships in my game.

Mugen Wizardry
User Banned
Posted: 7th Aug 2010 02:57
thanks, kistech!

CHECK OUT SOME MUSIC FROM MY NEW TECHNO CD! TECHNOKINESIS
http://www.youtube.com/watch?v=4a8KedfgVv0
ALSO, CHECK OUT MY NEW TECHNO CD! http://www.imageposeidon.com/
Mugen Wizardry
User Banned
Posted: 7th Aug 2010 03:17
ok im REAL close.

for some reason, this is happening.

look at the pic.

here's the limbs code:



here's the code in my loop:



now the thing is, i need to be able to still decrease or increase the text on the limb. is that possible?

CHECK OUT SOME MUSIC FROM MY NEW TECHNO CD! TECHNOKINESIS
http://www.youtube.com/watch?v=4a8KedfgVv0
ALSO, CHECK OUT MY NEW TECHNO CD! http://www.imageposeidon.com/
KISTech
18
Years of Service
User Offline
Joined: 8th Feb 2008
Location: Aloha, Oregon
Posted: 7th Aug 2010 03:25
Quote: "
make mesh from object 1,p.id+1
make mesh from object 2,obj
make mesh from object 3,obj2
make mesh from object 4,obj3 "


This is unnecessary. The only think you needed to make a mesh out of was the dummy cube that we used to make the limb. Then you could delete the cube and the mesh, because the mesh was copied to make the limb.

The billboard object is simply attached to the invisible limb. You can still retexture billboard, and alter it's appearance any time. You can even remove it using the UNGLUE OBJECT command.

To change it's position or rotation, you change the position or rotation of the hidden limb it's attached to using OFFSET LIMB or ROTATE LIMB.

Mugen Wizardry
User Banned
Posted: 7th Aug 2010 03:29
it's still blinking weird..



CHECK OUT SOME MUSIC FROM MY NEW TECHNO CD! TECHNOKINESIS
http://www.youtube.com/watch?v=4a8KedfgVv0
ALSO, CHECK OUT MY NEW TECHNO CD! http://www.imageposeidon.com/
KISTech
18
Years of Service
User Offline
Joined: 8th Feb 2008
Location: Aloha, Oregon
Posted: 7th Aug 2010 03:31
How often do you update it?

Mugen Wizardry
User Banned
Posted: 7th Aug 2010 03:32
once

CHECK OUT SOME MUSIC FROM MY NEW TECHNO CD! TECHNOKINESIS
http://www.youtube.com/watch?v=4a8KedfgVv0
ALSO, CHECK OUT MY NEW TECHNO CD! http://www.imageposeidon.com/
Mugen Wizardry
User Banned
Posted: 7th Aug 2010 03:33


CHECK OUT SOME MUSIC FROM MY NEW TECHNO CD! TECHNOKINESIS
http://www.youtube.com/watch?v=4a8KedfgVv0
ALSO, CHECK OUT MY NEW TECHNO CD! http://www.imageposeidon.com/
KISTech
18
Years of Service
User Offline
Joined: 8th Feb 2008
Location: Aloha, Oregon
Posted: 7th Aug 2010 03:44 Edited at: 7th Aug 2010 03:46
Ok, I meant, do you update it every loop?

[edit]

It's difficult to tell what's going on without seeing all the code.

Mugen Wizardry
User Banned
Posted: 7th Aug 2010 03:46
no. but i still need to be able to control the number on the texture with a key. is that possible with a limb?

CHECK OUT SOME MUSIC FROM MY NEW TECHNO CD! TECHNOKINESIS
http://www.youtube.com/watch?v=4a8KedfgVv0
ALSO, CHECK OUT MY NEW TECHNO CD! http://www.imageposeidon.com/
Mugen Wizardry
User Banned
Posted: 7th Aug 2010 03:59
here's the WHOLE code.



CHECK OUT SOME MUSIC FROM MY NEW TECHNO CD! TECHNOKINESIS
http://www.youtube.com/watch?v=4a8KedfgVv0
ALSO, CHECK OUT MY NEW TECHNO CD! http://www.imageposeidon.com/
Mugen Wizardry
User Banned
Posted: 7th Aug 2010 15:32
does that help?

CHECK OUT SOME MUSIC FROM MY NEW TECHNO CD! TECHNOKINESIS
http://www.youtube.com/watch?v=4a8KedfgVv0
ALSO, CHECK OUT MY NEW TECHNO CD! http://www.imageposeidon.com/
Mobiius
Valued Member
23
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 7th Aug 2010 15:39
Really, stop double/triple posting.

My signature is NOT a moderator plaything! Stop changing it!

Login to post a reply

Server time is: 2026-07-24 20:35:03
Your offset time is: 2026-07-24 20:35:03