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 / [SOLVED] join two objects. One of which has to rotate!

Years of Service
User Offline
Joined: 26th Oct 2002
Location: Rama spaceship
Posted: 17th Dec 2021 16:55 Edited at: 17th Dec 2021 21:40
This post has been marked by the post author as the answer.
Hi guys I need to join two .X objects. And when they are joined I need that ONLY one of these 2 object may rotate in his central pivot.
I had

In my game :
I had a model helicopter. the main rotor is static like the whole object. But my goal is that the main rotor can rotate (always united with the helicopter body). So I used the wings3D program to split the main rotor from the helicopter body and finally I saved both the main rotor and the helicopter body as two distinct objects.

object 1 : helicopter body
object 2 : main rotor

My final objective:
join these 2 objects and make the main rotor may rotate.

I read a lot of join objects thread but I have a lot of doubts.
Could you put a list of thing I need to do?
Or a simple example code?
I read different ways to join 2 objects (limbs or PERFORM CSG UNION) but neither of these two ways is easy for me.

Please help!


Solved using this code!

The author of this post has marked a post as an answer.

Go to answer

Login to post a reply

Server time is: 2023-04-02 10:29:13
Your offset time is: 2023-04-02 10:29:13