jMonkeyEngine.org

  • Home
    • News
    • News Archives
    • Activity
    • Members
    • Links
  • Introduction
    • About
    • Website Manual
    • Core Team
    • Contributing
      • Anyone
      • Modeler
      • WebDev
      • Writer
      • Programmer
    • Product Showcase
  • Forums
    • Latest Topics
    • Forums Index
    • Troubleshooting >
      • General
      • Import Assets
      • Graphics
      • Effects
      • GUI
      • Physics
      • Sound
      • Networking
      • SpiderMonkey
      • TerraMonkey
      • jMonkeyPlatform
    • Project Relations >
      • Beta 1 Game Contest
      • Free Announcements
      • User Code & Projects
      • Site & Project Feedback
      • Feature Discussion
      • Small Talk
    • Development >
      • Developers
      • Contributions
      • Docs
      • jMonkeyPlatform
      • Android
      • MonkeyZone
    • Legacy jME2 >
      • Discussion
      • Contributions
      • Docs Discussion
  • Documentation
    • Installation & Setup
    • Tutorials & Docs
    • SDK Documentation
    • FAQ
    • JavaDoc
    • Docs Discussion
  • Projects
    • All Projects
    • Games
    • Tools
    • Open Source
  • Downloads
    • Download jME3 SDK
    • SVN Checkout
    • GoogleCode
    • Nightly Builds
  • Contact

Group Admins

  • Profile picture of gbluntzer
Group logo of Script Blocks

Script Blocks

Public Group active 1 week, 2 days ago

Script Blocks

Tags: projects game jme3 boxes scripting
  • Home
  • Forum
  • Members 23
  • RSS
  • Profile picture of MichaelGray

    MichaelGray joined the group Group logo of Script BlocksScript Blocks 1 week, 2 days ago

  • Profile picture of phr00t

    phr00t replied to the forum topic What is the best way to do range finding around a tower? in the group Group logo of Script BlocksScript Blocks 7 months, 3 weeks ago

    You can just do a Vector3f.length() calculation between the two nodes…

    e.g. if( Tower.myNode.getWorldLocation().subtract(Enemy.myNode.getWorldLocation()).length() < 10 ) Tower.Fire(Enemy);

  • Profile picture of Momoko_Fan

    Momoko_Fan replied to the forum topic What is the best way to do range finding around a tower? in the group Group logo of Script BlocksScript Blocks 7 months, 3 weeks ago

    When you check collision against box/sphere, it checks it for every triangle

  • Profile picture of pspeed

    pspeed replied to the forum topic What is the best way to do range finding around a tower? in the group Group logo of Script BlocksScript Blocks 7 months, 3 weeks ago

    I’m pretty sure that only Rays will work like you want. There is no such thing as one contact point with a bounding box.

    You may have to do your own sphere-sphere calculations as a “broad phase” and then […]

  • Profile picture of gbluntzer

    gbluntzer replied to the forum topic What is the best way to do range finding around a tower? in the group Group logo of Script BlocksScript Blocks 7 months, 3 weeks ago

    Yeah I dont think BoundingSphere has been finished yet. It does a check for instanceof Ray and fails on everything else

    i switched to

    but

    pt returns null :(

    Thanks for any help.

  • Profile picture of normen

    normen replied to the forum topic What is the best way to do range finding around a tower? in the group Group logo of Script BlocksScript Blocks 7 months, 3 weeks ago

    I’m not getting something I suppose but try with a full sphere spatial.
    Edit: It could very well be that sphere vs world collisions are not implemented. In that case you’d have to use bullet for collisions. […]

  • Profile picture of gbluntzer

    gbluntzer replied to the forum topic What is the best way to do range finding around a tower? in the group Group logo of Script BlocksScript Blocks 7 months, 3 weeks ago

    Nope just Boxes

  • Profile picture of normen

    normen replied to the forum topic What is the best way to do range finding around a tower? in the group Group logo of Script BlocksScript Blocks 7 months, 3 weeks ago

    You have to do spatial.collideWith(BoundingVolume), not the other way round.
    Edit: Duh, you did that.. Do you have any funny geometries in your scene? Like not created by jme?

  • Profile picture of gbluntzer

    gbluntzer replied to the forum topic What is the best way to do range finding around a tower? in the group Group logo of Script BlocksScript Blocks 7 months, 3 weeks ago

    I tried this

    Getting Java Exception

  • Profile picture of normen

    normen replied to the forum topic What is the best way to do range finding around a tower? in the group Group logo of Script BlocksScript Blocks 7 months, 3 weeks ago

    You can use a GhostObject to track the overlapping physics objects but you have to use physics collision shapes for that. Else, you can use a sphere geometry and collideWith() the rootNode to check for overlaps. […]

  • Profile picture of gbluntzer

    gbluntzer started the forum topic What is the best way to do range finding around a tower? in the group Group logo of Script BlocksScript Blocks 7 months, 3 weeks ago

    I am trying to do a little tower defense game. If I have a tower who has range of 10 what is the best way to do a collision detection for Enemies 360 degrees around the tower?

    Do I do 360 ray traces? or is […]

  • Profile picture of chouchita

    chouchita joined the group Group logo of Script BlocksScript Blocks 8 months, 2 weeks ago

  • Profile picture of thetoucher

    thetoucher posted on the forum topic Non-JMonkey : I released new android app. I need some testers in the group Group logo of Script BlocksScript Blocks: 8 months, 3 weeks ago

    just go to the link in chrome, you can install it from there, way quicker and easier than QrCodes ;)

  • Profile picture of Empire Phoenix

    Empire Phoenix posted on the forum topic Non-JMonkey : I released new android app. I need some testers in the group Group logo of Script BlocksScript Blocks: 8 months, 3 weeks ago

    QrCode for link? to lazy to type in.

  • Profile picture of gbluntzer

    gbluntzer posted on the forum topic Non-JMonkey : I released new android app. I need some testers in the group Group logo of Script BlocksScript Blocks: 8 months, 3 weeks ago

    ha your to fast :) disregard last post

  • Profile picture of gbluntzer

    gbluntzer posted on the forum topic Non-JMonkey : I released new android app. I need some testers in the group Group logo of Script BlocksScript Blocks: 8 months, 3 weeks ago

    @ thetoucher Thanks for trying it out. AdMob is a bit of a mystery to me. I can see the ads on my Tablet but the wifes phone doesn’t see them. I Don’t know if you play any board or card games like shadowrun or D&D but if you think of any features I should [...]

  • Profile picture of thetoucher

    thetoucher posted on the forum topic Non-JMonkey : I released new android app. I need some testers in the group Group logo of Script BlocksScript Blocks: 8 months, 3 weeks ago

    feedback: – to me, starting with one die, then adding more makes more sense than starting with 15 on the screen. – would be nice to have the dice scale to fit the screen (e.g. a single die will take up full screen) features ideas: – use the accelerometer so you can shake the phone [...]

  • Profile picture of thetoucher

    thetoucher posted on the forum topic Non-JMonkey : I released new android app. I need some testers in the group Group logo of Script BlocksScript Blocks: 8 months, 4 weeks ago

    HTC Desire – Android 2.3.3
    worked flawlessly.

    I didn’t see any ad’s (I have ad blockers – or they weren’t there yet)

    great job =)

  • Profile picture of gbluntzer

    gbluntzer started the forum topic Non-JMonkey : I released new android app. I need some testers in the group Group logo of Script BlocksScript Blocks: 8 months, 4 weeks ago

    This is not JMonkey Related but if you have the time I need some Beta Testing for My New Android App Thanks for any feedback I am looking for new features so if you think of any let me know Game Helper is a helper application for games :) 6 sided dice up to 30 [...]

  • Profile picture of gbluntzer

    gbluntzer started the forum topic how do I make my own map? Example of using Image in the group Group logo of Script BlocksScript Blocks: 9 months ago

    For the LD48 I wanted to make a mini map for the game. I ended up just making a map in GIMP as a Image and then putting a Quad on top of it as the player moved around. What I wanted was to be able to create the whole Image but I was not [...]

  • Load More
Click below to login with..

Please create an account to get started.

Loading

Latest News

  • Happy earth day.. to our new contributors!
  • Google Summer of Code 2012

Recently Active Members

Profile picture of nehon
Profile picture of Sploreg
Profile picture of tebriel
Profile picture of knucklesandwich
Profile picture of hbandura
Profile picture of Setekh
Profile picture of neopangaia
Profile picture of pspeed
Profile picture of iamcreasy
Profile picture of iwgeric
Profile picture of ikelaiah
Profile picture of Momoko_Fan

Drag&Drop Help

  • 3D Scene Graph for Dummies
  • jME3 Math for Dummies
  • 3D Graphics Terminology
  • Hello Assets
  • Export from Blender
  • Custom Meshes
  • Physics
  • FAQ
  • Nifty’s bible

Group Tags

game jme3 online jme2 jme1 tool mmo boxes rpg crafting physics fps action gui baseball realistic gbui editor texture gis space turn-based platform tower-defense side-scroller betaville racing ogre marbles blue mmorpg albion scripting byte 1995 indie

Proudly powered by WordPress and BuddyPress.

jMonkeyEngine.org
  • Log In
  • Sign Up
  • Visit
    • Random Member
    • Random Group
close