Combining multiple different Aframe codes





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







-3















I want to know how to combine multiple different sequences of code onto one set of code, like making each section into an entity. We are a computer science class doing a large scale project where we had groups and made a section/wing of the school and now we are combining all of our wings to one.



we've tried making into an actual entity but it can't.



Some sort of merge command










share|improve this question























  • Are these aframe components ? Loose js ? separate html files ? Any example (even simplified to three <a-box>es) where you show what's going on would be helpful

    – Piotr Adam Milewski
    Jan 4 at 9:24











  • we are using neocities to type our code, the problem is is that we need to combine all 6 groups into one neocity bit of code, and to be able to move the six peices without having to move every single plane and having to rotate each plane, we have one group as the starting posistion 0,0 but since we all made a wing at that starting position we need to move it to connect correctly, we thought about just moving the positions and rotations but we figured out we would need to basically redo all the work we have already done. we want to make each bit of code go on one position code and one rotation

    – BlueEmber
    Jan 4 at 20:07











  • I didn't use neocities, but is grouping the wings an option, like in my anwser ?

    – Piotr Adam Milewski
    Jan 4 at 20:14


















-3















I want to know how to combine multiple different sequences of code onto one set of code, like making each section into an entity. We are a computer science class doing a large scale project where we had groups and made a section/wing of the school and now we are combining all of our wings to one.



we've tried making into an actual entity but it can't.



Some sort of merge command










share|improve this question























  • Are these aframe components ? Loose js ? separate html files ? Any example (even simplified to three <a-box>es) where you show what's going on would be helpful

    – Piotr Adam Milewski
    Jan 4 at 9:24











  • we are using neocities to type our code, the problem is is that we need to combine all 6 groups into one neocity bit of code, and to be able to move the six peices without having to move every single plane and having to rotate each plane, we have one group as the starting posistion 0,0 but since we all made a wing at that starting position we need to move it to connect correctly, we thought about just moving the positions and rotations but we figured out we would need to basically redo all the work we have already done. we want to make each bit of code go on one position code and one rotation

    – BlueEmber
    Jan 4 at 20:07











  • I didn't use neocities, but is grouping the wings an option, like in my anwser ?

    – Piotr Adam Milewski
    Jan 4 at 20:14














-3












-3








-3








I want to know how to combine multiple different sequences of code onto one set of code, like making each section into an entity. We are a computer science class doing a large scale project where we had groups and made a section/wing of the school and now we are combining all of our wings to one.



we've tried making into an actual entity but it can't.



Some sort of merge command










share|improve this question














I want to know how to combine multiple different sequences of code onto one set of code, like making each section into an entity. We are a computer science class doing a large scale project where we had groups and made a section/wing of the school and now we are combining all of our wings to one.



we've tried making into an actual entity but it can't.



Some sort of merge command







aframe






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 3 at 20:22









BlueEmberBlueEmber

1




1













  • Are these aframe components ? Loose js ? separate html files ? Any example (even simplified to three <a-box>es) where you show what's going on would be helpful

    – Piotr Adam Milewski
    Jan 4 at 9:24











  • we are using neocities to type our code, the problem is is that we need to combine all 6 groups into one neocity bit of code, and to be able to move the six peices without having to move every single plane and having to rotate each plane, we have one group as the starting posistion 0,0 but since we all made a wing at that starting position we need to move it to connect correctly, we thought about just moving the positions and rotations but we figured out we would need to basically redo all the work we have already done. we want to make each bit of code go on one position code and one rotation

    – BlueEmber
    Jan 4 at 20:07











  • I didn't use neocities, but is grouping the wings an option, like in my anwser ?

    – Piotr Adam Milewski
    Jan 4 at 20:14



















  • Are these aframe components ? Loose js ? separate html files ? Any example (even simplified to three <a-box>es) where you show what's going on would be helpful

    – Piotr Adam Milewski
    Jan 4 at 9:24











  • we are using neocities to type our code, the problem is is that we need to combine all 6 groups into one neocity bit of code, and to be able to move the six peices without having to move every single plane and having to rotate each plane, we have one group as the starting posistion 0,0 but since we all made a wing at that starting position we need to move it to connect correctly, we thought about just moving the positions and rotations but we figured out we would need to basically redo all the work we have already done. we want to make each bit of code go on one position code and one rotation

    – BlueEmber
    Jan 4 at 20:07











  • I didn't use neocities, but is grouping the wings an option, like in my anwser ?

    – Piotr Adam Milewski
    Jan 4 at 20:14

















Are these aframe components ? Loose js ? separate html files ? Any example (even simplified to three <a-box>es) where you show what's going on would be helpful

– Piotr Adam Milewski
Jan 4 at 9:24





Are these aframe components ? Loose js ? separate html files ? Any example (even simplified to three <a-box>es) where you show what's going on would be helpful

– Piotr Adam Milewski
Jan 4 at 9:24













we are using neocities to type our code, the problem is is that we need to combine all 6 groups into one neocity bit of code, and to be able to move the six peices without having to move every single plane and having to rotate each plane, we have one group as the starting posistion 0,0 but since we all made a wing at that starting position we need to move it to connect correctly, we thought about just moving the positions and rotations but we figured out we would need to basically redo all the work we have already done. we want to make each bit of code go on one position code and one rotation

– BlueEmber
Jan 4 at 20:07





we are using neocities to type our code, the problem is is that we need to combine all 6 groups into one neocity bit of code, and to be able to move the six peices without having to move every single plane and having to rotate each plane, we have one group as the starting posistion 0,0 but since we all made a wing at that starting position we need to move it to connect correctly, we thought about just moving the positions and rotations but we figured out we would need to basically redo all the work we have already done. we want to make each bit of code go on one position code and one rotation

– BlueEmber
Jan 4 at 20:07













I didn't use neocities, but is grouping the wings an option, like in my anwser ?

– Piotr Adam Milewski
Jan 4 at 20:14





I didn't use neocities, but is grouping the wings an option, like in my anwser ?

– Piotr Adam Milewski
Jan 4 at 20:14












1 Answer
1






active

oldest

votes


















0














If You have trouble with multiple scenes, which need to be repositioned to match each other, you could try grouping them into parent entities



<a-entity id='one-wing' position='0 0 0'>
<!--- Whole wing except light and camera ---!>
<a-entity>

<a-entity id='another-wing' position='15 0 15>
<!--- another wing except light and camera ---!>
<a-entity>


This way you won't need to reposition and rotate every element - just the parent entities to match each other.



For example:





  • scene one



  • scene two


  • combined






share|improve this answer


























  • we found out how to... it was exactly that, and that exact code was what everyone else was telling me DIDN'T work... lord and behold... it works... sorry to bother you, thanks for the help

    – BlueEmber
    Jan 9 at 20:08












Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54029275%2fcombining-multiple-different-aframe-codes%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














If You have trouble with multiple scenes, which need to be repositioned to match each other, you could try grouping them into parent entities



<a-entity id='one-wing' position='0 0 0'>
<!--- Whole wing except light and camera ---!>
<a-entity>

<a-entity id='another-wing' position='15 0 15>
<!--- another wing except light and camera ---!>
<a-entity>


This way you won't need to reposition and rotate every element - just the parent entities to match each other.



For example:





  • scene one



  • scene two


  • combined






share|improve this answer


























  • we found out how to... it was exactly that, and that exact code was what everyone else was telling me DIDN'T work... lord and behold... it works... sorry to bother you, thanks for the help

    – BlueEmber
    Jan 9 at 20:08
















0














If You have trouble with multiple scenes, which need to be repositioned to match each other, you could try grouping them into parent entities



<a-entity id='one-wing' position='0 0 0'>
<!--- Whole wing except light and camera ---!>
<a-entity>

<a-entity id='another-wing' position='15 0 15>
<!--- another wing except light and camera ---!>
<a-entity>


This way you won't need to reposition and rotate every element - just the parent entities to match each other.



For example:





  • scene one



  • scene two


  • combined






share|improve this answer


























  • we found out how to... it was exactly that, and that exact code was what everyone else was telling me DIDN'T work... lord and behold... it works... sorry to bother you, thanks for the help

    – BlueEmber
    Jan 9 at 20:08














0












0








0







If You have trouble with multiple scenes, which need to be repositioned to match each other, you could try grouping them into parent entities



<a-entity id='one-wing' position='0 0 0'>
<!--- Whole wing except light and camera ---!>
<a-entity>

<a-entity id='another-wing' position='15 0 15>
<!--- another wing except light and camera ---!>
<a-entity>


This way you won't need to reposition and rotate every element - just the parent entities to match each other.



For example:





  • scene one



  • scene two


  • combined






share|improve this answer















If You have trouble with multiple scenes, which need to be repositioned to match each other, you could try grouping them into parent entities



<a-entity id='one-wing' position='0 0 0'>
<!--- Whole wing except light and camera ---!>
<a-entity>

<a-entity id='another-wing' position='15 0 15>
<!--- another wing except light and camera ---!>
<a-entity>


This way you won't need to reposition and rotate every element - just the parent entities to match each other.



For example:





  • scene one



  • scene two


  • combined







share|improve this answer














share|improve this answer



share|improve this answer








edited Jan 4 at 20:27

























answered Jan 4 at 20:14









Piotr Adam MilewskiPiotr Adam Milewski

5,90321228




5,90321228













  • we found out how to... it was exactly that, and that exact code was what everyone else was telling me DIDN'T work... lord and behold... it works... sorry to bother you, thanks for the help

    – BlueEmber
    Jan 9 at 20:08



















  • we found out how to... it was exactly that, and that exact code was what everyone else was telling me DIDN'T work... lord and behold... it works... sorry to bother you, thanks for the help

    – BlueEmber
    Jan 9 at 20:08

















we found out how to... it was exactly that, and that exact code was what everyone else was telling me DIDN'T work... lord and behold... it works... sorry to bother you, thanks for the help

– BlueEmber
Jan 9 at 20:08





we found out how to... it was exactly that, and that exact code was what everyone else was telling me DIDN'T work... lord and behold... it works... sorry to bother you, thanks for the help

– BlueEmber
Jan 9 at 20:08




















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54029275%2fcombining-multiple-different-aframe-codes%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Monofisismo

Angular Downloading a file using contenturl with Basic Authentication

Olmecas