Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (โ‹ฎ) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

It's really hard for me to change the rotation and position of glove model when my character is wearing it. does anyone have any tips on doing it? because I'm having trouble with it. I watched a video on setting up things like this, but ichun said that this part is different for every model. if anyone would be willing to give me any tips/restrictions on what the numbers can be or willing to set up the rotation for me would be appreciated.

There are some GL11 options called "Translatef" and "Rotatef" try playing around with them a bit!

glTranslatefย  will move Your model. It's easy to figure out this one using some kind of bisection method (If You want to move Your model in X axis, but You don't know how big the factor should be, give it some value x1, then, if it's too big, give it x1/2 and if x1/2 is too little, give it x1*3/4 and so on until You got Your value). Just remember to use glTranslate after rotating and before scaling.

ย 

glRotatef will rotate model by angle (first parameter) using axis (three other parameters). It's easiest to give 0.0F to two axes, and 1.0F to one axis.

ย 

Glove model should be rotated more or less like this:

ย 

GL11.glRotatef(-55, 0.0F, 0.0F, 1.0F);

As arms are by default rotated 55 degrees around Z axis. Maybe some other angles should be applied to other axes, but I'm not sure.

ย 

Also note, that You should specify some offset (not texture offset) in Techne if You're using it, so that Your model has good rotation center. Otherwise, rotating and translating will be extremely tricky.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions โ†’ Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.