Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Announcements and Showcase
A controller for third-person character is already in development.

SamGrady
Guest
Quote
2023-11-17 22:37:18

Currently, I'm developing a controller to manage the movement of a character under my camera controller. This allows movement in eight directions, including walking, running, and crouching. I am in the process of adding jumping functionality, and once I finalize a few additional events, the first version will be ready.
🔎︎

🔎︎

You can still download the camera controller from this link:
https://samgrady.itch.io/third-p...


SamGrady
Guest
Quote
2023-11-18 16:45:30

Now, the jump has been added, and you can enable or disable rotation in the direction of the camera only while moving.
🔎︎



SamGrady
Guest
Quote
2023-11-18 16:46:43

rotate_on_movement : true
🔎︎



hadoken
Guest
Quote
2023-11-18 22:52:07

@SamGrady

It's really nice to have several alternatives for a well-functioning third person controller for CopperCube, so thank you very much for your work. For inspiration I can offer a heavily reworked early version of Smn Mhmdy's Thirdperson Camera and Player Controller Demo where I have replaced the complete control system plus have added an improved, delayed camera movement in combination with the jumping mechanics to give the player a much better overview over the environment topology while jumping.

The extension still needs work to get finished, but the following Demo is running on OpenGL with some fake real-time shadow. The green character is one of my original creations. Check it out at:

https://www.dropbox.com/scl/fi/7...


hadoken
Guest
Quote
2023-11-19 11:24:07

🔎︎



SamGrady
Guest
Quote
2023-11-19 15:43:15

hadoken wrote:
@SamGrady

It's really nice to have several alternatives for a well-functioning third person controller for CopperCube, so thank you very much for your work. For inspiration I can offer a heavily reworked early version of Smn Mhmdy's Thirdperson Camera and Player Controller Demo where I have replaced the complete control system plus have added an improved, delayed camera movement in combination with the jumping mechanics to give the player a much better overview over the environment topology while jumping.

The extension still needs work to get finished, but the following Demo is running on OpenGL with some fake real-time shadow. The green character is one of my original creations. Check it out at:

https://www.dropbox.com/scl/fi/7...


Sorry, but I got a black screen; my laptop is not suitable for most projects. Anyway, I read your code and can imagine how it works. It looks really complicated, but I like that you use global input. I prefer to do it that way too, but I always face issues with global deltaTime. I mean, when I call it from another behavior, it reads correctly, but using it with node properties like rotation or position doesn't work.


o139
Registered User
Quote
2023-11-19 18:54:43

cool project!


SamGrady
Guest
Quote
2023-11-20 15:27:22

Working on the character for my controller demo.
🔎︎



SamGrady
Guest
Quote
2023-11-20 15:27:48

🔎︎



SamGrady
Guest
Quote
2023-11-21 01:42:07

Now that I have a character to control, working with the controller becomes more convenient.
🔎︎



SamGrady
Guest
Quote
2023-11-21 23:43:42

door check
🔎︎



SamGrady
Guest
Quote
2023-11-22 20:34:46

I am rewriting the extension to make it a more universal tool for use in a wide range. Currently, animating characters takes a lot of time for me, as I am not good in animation.
🔎︎



hadoken
Registered User
Quote
2023-11-22 20:57:00

Keep doing, your results look very good @SamGrady!

Besides, how did you manage reading the code for the modified Smn Mhmdy's Thirdperson Camera and Player Controller Demo I posted, if I provided the demo as compiled .exe only? Just a bit curious since decompiling seems some topic here around.

"Sorry, but I got a black screen; my laptop is not suitable for most projects. Anyway, I read your code and can imagine how it works. It looks really complicated, but I like that you use global input. I prefer to do it that way too, but I always face issues with global deltaTime. I mean, when I call it from another behavior, it reads correctly, but using it with node properties like rotation or position doesn't work."



SamGrady
Guest
Quote
2023-11-22 21:26:31

Besides, how did you manage reading the code for the modified Smn Mhmdy's Thirdperson Camera and Player Controller Demo I posted, if I provided the demo as compiled .exe only? Just a bit curious since decompiling seems some topic here around.

No decompiling; JavaScript is a free-to-use language, so it's easy to read by opening the executable in any text editor. I don't consider it a big secret, which is why I don't sell my extension because JavaScript is really easy to read.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internati?nal" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact