Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Programming and Scripting
Coppercube studio, raycasting

sand
Registered User
Quote
2020-12-28 21:13:52

Hi I'm thinking of buying the 200$ to get source code access. Would I be able to implement/expose a raycasting method to the ai so it cant see through walls ? Or maybe a method to see what kind of material an object is touching? For like footstep sounds (metal, carpet etc)

Thank you


Robo
Guest
Quote
2021-01-04 06:44:49

Good to support Niko but to determine if a wall is there between enemy and player you might use "ccbDoesLineCollideWithBoundingBoxOfSceneNode". You would have to check all your room walls this way using a for loop.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internation?l" (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