| We hope you enjoy your visit. You're currently viewing the Ultimate 3D Community as a guest. This means that you can only read posts, but can not create posts or topics by yourself. To be able to post you need to register. Then you can participate in the community active and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you are already a member please log in to your account to access all of our features: |
| real-time editing Polygons? | |
|---|---|
| Tweet Topic Started: Jun 26 2006, 05:25 AM (252 Views) | |
| Xeniczone | Jun 26 2006, 05:25 AM Post #1 |
|
Unregistered
|
I have a model that I would like to load into my game. Off course this model consist of polygons. I have a formula to mess with the polygons as the game goes on. Is this possible to upload a model and then add a code for the polygons of the model? like if I wanted to do this with coding I would
Then it will move the polygon until the if statement if false. but back to my question is this possible with a model? |
|
|
| Dr. Best | Jun 26 2006, 10:45 AM Post #2 |
|
Administrator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
In the current version it isn't possible. You can only change the transformation of the model using x, y, z, rotx, roty, rotz, scalx, scaly, scalz. Or you could use an animation using LoadAnimated3DS() or AddFrame(). In U3D 2.0 model manipulation will be possible. Then the example code you posted will be realizable. |
![]() |
|
| Xeniczone | Jun 26 2006, 04:01 PM Post #3 |
|
Unregistered
|
DANG, You really are the best. Can I add a new question. I have a level that has over passes. Like a room it has a open area then it comes inside with a ceiling, but it treats the wall of the ceiling as a wall and will not let me enter the room. ![]() What I do is I make the object. I make a sprite that is big enough so that the full thing has collisions for hills and stuff. Then I load the sprite. Then in the collision event I put Model Collision. |
|
|
| Dr. Best | Jun 26 2006, 07:32 PM Post #4 |
|
Administrator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
collision_model() works only for terrain models correctly. Have a look at the third person example to find out about another method of collision detection that's better in this case. |
![]() |
|
| Xeniczone | Jun 26 2006, 09:03 PM Post #5 |
|
Unregistered
|
That is a gamemaker 5.3 code I tried to use it in GM6 it just gave me a bunch of errors. The first was the SetSound thing. I fixed that. Then it keeped saying something about 24bit isn't supported. |
|
|
| Dr. Best | Jun 26 2006, 10:22 PM Post #6 |
|
Administrator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Just have a look at the character object and at the added scripts and copy the stuff you need to your gm6 project. |
![]() |
|
| Xeniczone | Jun 26 2006, 11:01 PM Post #7 |
|
Unregistered
|
O, I see the collision codes. Thx. |
|
|
| « Previous Topic · Questions about Ultimate 3D · Next Topic » |







![]](http://z1.ifrm.com/static/1/pip_r.png)


10:34 AM Jul 11