≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Move Object By 3D Position Issue?
Posted by:
(you are not logged in)
Enter the missing letter in: "In?ernational"
(you are not logged in)
Text:
[quote][b][/b] wrote: Hi there, @sixvivid, the script does work very well, it doesn't matter what is the position, if it's negative or something else. it will always change the position without any issue. "s" in the script is a variable that stand for "scenenode" and it hold the data which scenenode we are going to move or change position. just to clarify that the code works, here is a sample ccb file, in which the cube has third person camera attached to it , which you can move with WASD, and on pressing "F" key the position of the cubemesh gets changed to the Dungeon I created using 2D room maps, below the terrain. [url]https://cdn.discordapp.com/attachments/745154004425768992/1086528046649065553/change_position_3D.ccb[/url] Also in the script, you can provide any position, you don't specifically need to provide position of your object, like you are not bound to use terrain position only. You can create a dummy node, and put it somewher in your scene where you want to telport or move your object. You then copy it's position and paste those position cordinate into the script. Also, @sven has released an action, using the same thing that can help you out, so that you don't have to deal with the scripting part. you can download the extension by @sven from here.[url]https://5v3n.itch.io/coppercube-teleport-fps3rd-script[/url] I would really love to see your game in action, and I am glad that I am of any help to you *holy*[/quote]
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