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.

DarkBASIC Professional Discussion / Offset Limb Too Large of Change

Author
Message
The Viking
17
Years of Service
User Offline
Joined: 21st Oct 2008
Location: Asgard
Posted: 9th Apr 2010 03:47
Hey all,

Well, I've been trying to use offset limb to alter facial expressions/appearance, although I have come across an extremely annoying problem. Offset Limb only allows integer values for x,y,z values. When I try to adjust the limb by a value of 1 (because I can't go any lower) the adjustment on the model is extremely large. I have even scaled the model to 5000 times the original size, and it is still large. What am I missing here, is there another way to do this, or is it just the way I modeled the object?

Thanks

www.myspace.com/norseblod
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 9th Apr 2010 12:20
Quote: "What am I missing here, is there another way to do this, or is it just the way I modeled the object?"


Absolutely no idea. Without seeing any code I'd guess you've made a coding error. The front runner is probably using integers instead of floats - or getting confused between the two such as using x# in one place and x in another.

The following code works fine for me. Just press and hold "b" to see the new position of limb 1:

baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 10th Apr 2010 02:01
I'm sure GG is right here as normally if only integers work it is because you have used them eplicitely over floats (by accident)...

The Viking
17
Years of Service
User Offline
Joined: 21st Oct 2008
Location: Asgard
Posted: 10th Apr 2010 17:02
Thanks both, been a long time since I've been on here. Sorry Green Gandalf, I just assumed that there was no need for the code, but I shouldn't assume. I have found that the reason why it hasn't worked is because I was using an array. The array I set up but didn't specify if it was to be an integer or float. Once I put specified it as a float, the code worked. Thanks GG, that helped a lot, as usual! By the way, good to hear from you again.

www.myspace.com/norseblod
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 11th Apr 2010 01:14
Quote: "I just assumed that there was no need for the code, but I shouldn't assume"


No need for code on this forum???

Actually in this case you're assumption seems to be right.

Quote: "By the way, good to hear from you again."


And you too.

Login to post a reply

Server time is: 2026-07-26 17:36:46
Your offset time is: 2026-07-26 17:36:46